roku_builder 4.22.1 → 4.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/roku +1 -1
- data/lib/roku_builder/plugins/key_template.zip +0 -0
- data/lib/roku_builder/plugins/loader.rb +1 -0
- data/lib/roku_builder/plugins/packager.rb +9 -16
- data/lib/roku_builder/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4655c4f0480c5e46c9064eb0f441bd0b9d09c43ea4b5b513ef0e657326be3bc4
|
4
|
+
data.tar.gz: 8b0ad7dc350ed4111835fcd1c87cb7e7f223ab19885c2b5e956fc5ecdc3723ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ef232bda81b19899c4d17b0ebcd09e85632dc1cf76aea11d385fb69e64479f03e252e7bf538550207e40cd7523eb7c50e0fc8d3a1e292c795060bef1384b040
|
7
|
+
data.tar.gz: 4d11c0926d97572f11c40353926c6749e10172aa5e3b1c5e7db4386030e0664dac37e925fbab41c820e460b14a633db4e99ca3d814a38aa9a1c231b33c9e2fcd
|
data/bin/roku
CHANGED
Binary file
|
@@ -120,6 +120,7 @@ module RokuBuilder
|
|
120
120
|
def file_path(type)
|
121
121
|
file = @config.send(type)[:file]
|
122
122
|
file ||= Manifest.new(config: @config).build_version
|
123
|
+
file ||= SecureRandom.uuid
|
123
124
|
file = file+".zip" unless file.end_with?(".zip")
|
124
125
|
File.join(@config.send(type)[:folder], file)
|
125
126
|
end
|
@@ -61,22 +61,15 @@ module RokuBuilder
|
|
61
61
|
out[:file] ||= "key_"+dev_id+".pkg"
|
62
62
|
@config.out = out
|
63
63
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
end
|
74
|
-
loader = Loader.new(config: config_copy)
|
75
|
-
options[:current] = true
|
76
|
-
loader.sideload(options: options)
|
77
|
-
sign_package(app_name_version: "key_"+dev_id, password: password, stage: options[:stage])
|
78
|
-
@logger.unknown("Keyed PKG: #{File.join(@config.out[:folder], @config.out[:file])}")
|
79
|
-
}
|
64
|
+
config_copy = @config.dup
|
65
|
+
config_copy.root_dir = ""
|
66
|
+
config_copy.in[:folder] = File.dirname(__FILE__)
|
67
|
+
config_copy.in[:file] = "key_template.zip"
|
68
|
+
loader = Loader.new(config: config_copy)
|
69
|
+
options[:in] = true
|
70
|
+
loader.sideload(options: options)
|
71
|
+
sign_package(app_name_version: "key_"+dev_id, password: password, stage: options[:stage])
|
72
|
+
@logger.unknown("Keyed PKG: #{File.join(@config.out[:folder], @config.out[:file])}")
|
80
73
|
end
|
81
74
|
|
82
75
|
# Sets the key on the roku device
|
data/lib/roku_builder/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roku_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.22.
|
4
|
+
version: 4.22.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- greeneca
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -490,6 +490,7 @@ files:
|
|
490
490
|
- lib/roku_builder/plugins/indentation_inspector.rb
|
491
491
|
- lib/roku_builder/plugins/inspector.rb
|
492
492
|
- lib/roku_builder/plugins/inspector_config.json
|
493
|
+
- lib/roku_builder/plugins/key_template.zip
|
493
494
|
- lib/roku_builder/plugins/line_inspector.rb
|
494
495
|
- lib/roku_builder/plugins/linker.rb
|
495
496
|
- lib/roku_builder/plugins/loader.rb
|