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 +4 -4
- data/lib/fastlane/plugin/zhuixi_build_app/actions/download_resources_action.rb +0 -1
- data/lib/fastlane/plugin/zhuixi_build_app/actions/xcodeproj_merge_action.rb +1 -1
- data/lib/fastlane/plugin/zhuixi_build_app/helper/zhuixi_build_app_helper.rb +2 -3
- data/lib/fastlane/plugin/zhuixi_build_app/version.rb +1 -1
- metadata +2 -3
- data/assets//351/227/252/347/213/220_badge.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9b37427eab1d2d36a6f86263f058e81ca0f3fa1b95219f48fb851a0317e7fbf
|
4
|
+
data.tar.gz: 66ae5721860b011da1f55c20298aa3e5e22a36d5c60e16f52dbd12cebd93f869
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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)
|
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.
|
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-
|
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
|
Binary file
|