fastlane-plugin-zhuixi_build_app 1.1.1 → 1.1.2

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: 451978bd42e57b00635fefdd8d773fba66e9c5018de27c7429ce4d7658fc9917
4
- data.tar.gz: f44a23086a1b71877b123c1eb4e9d4528b20bd9e7a8981727d8af092bb4bb083
3
+ metadata.gz: 2e3fe37986cea3db21d837cbbced18302445cbf6bb8d933e0adb383e8b367ff9
4
+ data.tar.gz: 05f5fb6e618479bddf5d0c538ea961cc8f62fc1758d88498f19c9072e9d1ea9f
5
5
  SHA512:
6
- metadata.gz: d4db3b66f973751b12327a6630adf4b6b2a3b3218c32f0fe2b4fb49cd5af3fc91ccea9d69fa5aa9e6b94240df4f5fe9b868105693506fd07a1625bec210e7eac
7
- data.tar.gz: ea477a10635e4e4b704514740241228b9604fc20d17e807a12fe691f1f3eb026b5a76dbfcbbcb5868109f83fc6b1d70983beba774da152b46cf4013723f9a462
6
+ metadata.gz: b1a21646728ce3cbbc25db8a8916a1be325bcd3d16de6acdf1b7af2c4af05f1847264c7e8f70e4b11501bfdad7ae377c7f16428164c351ac7f9e0a31fad9d4b0
7
+ data.tar.gz: 30fb6f81a1c1c26219a3ce3cca9e0445cceea156dc299d894612cfa31a55e30880266158d31f92f7312495358344a31f14ab22ae77d658abe2565b8b485e1e9e
@@ -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.2"
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.2
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