fastlane-plugin-zhuixi_build_app 1.1.1 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 451978bd42e57b00635fefdd8d773fba66e9c5018de27c7429ce4d7658fc9917
4
- data.tar.gz: f44a23086a1b71877b123c1eb4e9d4528b20bd9e7a8981727d8af092bb4bb083
3
+ metadata.gz: d9b37427eab1d2d36a6f86263f058e81ca0f3fa1b95219f48fb851a0317e7fbf
4
+ data.tar.gz: 66ae5721860b011da1f55c20298aa3e5e22a36d5c60e16f52dbd12cebd93f869
5
5
  SHA512:
6
- metadata.gz: d4db3b66f973751b12327a6630adf4b6b2a3b3218c32f0fe2b4fb49cd5af3fc91ccea9d69fa5aa9e6b94240df4f5fe9b868105693506fd07a1625bec210e7eac
7
- data.tar.gz: ea477a10635e4e4b704514740241228b9604fc20d17e807a12fe691f1f3eb026b5a76dbfcbbcb5868109f83fc6b1d70983beba774da152b46cf4013723f9a462
6
+ metadata.gz: 9c468cdcebd8a76d97cfb7acfee003ffd2f11cd8a99519689bcea77de610c8e216a36c20d7d3e36a117d5cfd2abbc60ba12507faf59eeab3039f58cb19a42d0a
7
+ data.tar.gz: 2a2cf81712df0b26ea92f758828566c69814068b5e0d8e2abee36ce5bcdddff098404f86e0fe33905b0c14816434bf5834d582406548613c8686e6180eb99f71
@@ -12,7 +12,6 @@ module Fastlane
12
12
  channel_resources_folder = File.join(lane_context[:zhuixi_path], "resources")
13
13
  filepath = File.join(channel_resources_folder, "ConfigInfo.plist")
14
14
  if File.exist?(lane_context[:zhuixi_path].to_s)
15
- return
16
15
  FileUtils.rm_rf(lane_context[:zhuixi_path])
17
16
  # if get_info_plist_value(path: filepath, key: "channelVersion")
18
17
  # end
@@ -393,7 +393,7 @@ module Fastlane
393
393
  channel_icon_ref = lane_context[:group].new_file(channel_icon_path)
394
394
  lane_context[:target].resources_build_phase.add_file_reference(channel_icon_ref) if channel_icon_ref
395
395
 
396
- badge_path = Fastlane::Helper::ZhuixiBuildAppHelper.get_badge_path(lane_context[:selectPlatformName])
396
+ badge_path = Fastlane::Helper::ZhuixiBuildAppHelper.get_badge_path(folder_path, lane_context[:selectPlatformName])
397
397
  if File.exist?(badge_path)
398
398
  puts "ZHUIXI---角标路径:\n" + badge_path
399
399
  badge = MiniMagick::Image.open(badge_path)
@@ -12,9 +12,8 @@ module Fastlane
12
12
  UI.message("Hello from the zhuixi_build_app plugin helper!")
13
13
  end
14
14
  # 返回对应渠道的角标图片路径
15
- def self.get_badge_path(channel)
16
- root_path = Dir.pwd
17
- File.join(root_path, "assets", "#{channel}_badge.png")
15
+ def self.get_badge_path(folder_path, channel)
16
+ File.join(folder_path, "#{channel}_badge.png")
18
17
  end
19
18
 
20
19
  def self.clean_storyboard_cache(channel_storyboard_path, channel)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module ZhuixiBuildApp
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-zhuixi_build_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - RedSevenMale
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-29 00:00:00.000000000 Z
11
+ date: 2023-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -158,7 +158,6 @@ extra_rdoc_files: []
158
158
  files:
159
159
  - LICENSE
160
160
  - README.md
161
- - assets/闪狐_badge.png
162
161
  - lib/fastlane/plugin/zhuixi_build_app.rb
163
162
  - lib/fastlane/plugin/zhuixi_build_app/actions/base_action.rb
164
163
  - lib/fastlane/plugin/zhuixi_build_app/actions/download_resources_action.rb