nixenvironment 0.0.145 → 0.0.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79cd87bb48e3ef8665f43397b80e8aa54b01bd13c17834046ab165a907efb7d3
4
- data.tar.gz: 69878af0325ba9a1ab3a9036e82e73c244bcb3e3a4b5ac8240cf7e8a75a842f0
3
+ metadata.gz: 41738ec5b23196d63c3a13d8c7e4d0c65185787a21605bea8d77c09d638bee99
4
+ data.tar.gz: 2fbad3b384ee71b60e9791c44be67f50e6831fd702e5139bacc019d6d98cf738
5
5
  SHA512:
6
- metadata.gz: 7a9964f19acf5c7f95cb833de954691a2cb11fca10066ed6f3bed14ffd762f5c4f99d3bf8b232499941e54ef4c18f5f32e2b323fe1708127eeaf185484e82ae1
7
- data.tar.gz: 7a20248a1032e9faf69093dbdd955ac557a77433b75d678d4cfdfcee745dd4231ce0cf424ba30c7c6ac9129a97e65949155b4b3dbe20542cfed47525d6705209
6
+ metadata.gz: 45e1387c476f6d3caeda613af1dd613315accc1e6f1c54179d9f5b21b6a3574ce5a25845c83b8d37e2c1ab15da637819ce4e36da529c9ee0ec037d0be6f384eb
7
+ data.tar.gz: a9d7a427b5abb0e925c99f17ba5248e21a085748ef0ec606bb8dc3b07db6acef19864861ccb899be0cb468030cbae636b4a67bda6d1728fa0381ff3c436441d8
data/bin/nixenvironment CHANGED
@@ -141,13 +141,6 @@ command :build do |c|
141
141
 
142
142
  read_config_settings
143
143
 
144
- if $bundle_id
145
- plist_path = @config_settings[PRODUCT_SETTINGS_PATH_KEY]
146
- info_plist = Plist.from_file(plist_path)
147
- info_plist['CFBundleIdentifier'] = $bundle_id
148
- info_plist.save(plist_path, Plist::FORMAT_XML)
149
- end
150
-
151
144
  @config_settings[CONFIGURATION_KEY] = options.config
152
145
 
153
146
  if is_unity_platform
@@ -177,6 +170,13 @@ command :build do |c|
177
170
 
178
171
  @config_settings.merge!(Xcodebuild.config_settings) { |_key, v1, v2| v1 || v2 }
179
172
 
173
+ if $bundle_id
174
+ plist_path = @config_settings[PRODUCT_SETTINGS_PATH_KEY]
175
+ info_plist = Plist.from_file(plist_path)
176
+ info_plist['CFBundleIdentifier'] = $bundle_id
177
+ info_plist.save(plist_path, Plist::FORMAT_XML)
178
+ end
179
+
180
180
  begin
181
181
  prebuild(options.config, options.app_version, options.requires_fullscreen, options.skip_working_copy_check)
182
182
  build(options.config, options.xcconfig, options.ipa, options.ndsym, options.icon_tagger, options.xc_args)
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.145'
2
+ VERSION = '0.0.146'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nixenvironment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.145
4
+ version: 0.0.146
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen