cocoapods-hooks 0.0.6 → 0.0.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f4e89f0db9a62e786cf33868df48fde399a9a9bced609a8147eeb508e88e2c6
|
4
|
+
data.tar.gz: 020ecd4a1f5f820d4ac74059ac2063deeff961bdbadae5e8ee5e78553fcd1d3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc807bf815c3b1a89f8c9d07258caae750856f53943a61416d87cec3a453c80276fb84b4bafe151c1a559a4517f384d6f06f2154d2b86455f20db0d0ef66fd18
|
7
|
+
data.tar.gz: fd0c086555ad3d2b40d35eda572d789864f1a79aa52a8f62777af8306108657b6c8fc8075933eccb8c756b1d353ea1d6d5e798eabbcb75fa8c93229ab34c4d32
|
@@ -32,13 +32,13 @@ module Pod
|
|
32
32
|
result = system("python3 ChangeColor.py")
|
33
33
|
unless result
|
34
34
|
puts "command execution failed. Exiting..."
|
35
|
-
|
35
|
+
exit 1
|
36
36
|
end
|
37
37
|
# 改变 mutableTheme 文件夹的图片颜色
|
38
38
|
result = system("python3 svg2png.py")
|
39
39
|
unless result
|
40
40
|
puts "command execution failed. Exiting..."
|
41
|
-
|
41
|
+
exit 1
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
@@ -52,9 +52,12 @@ module Pod
|
|
52
52
|
if success
|
53
53
|
puts "repository cloned to #{Dir.pwd}"
|
54
54
|
project_config_plist_path = Dir.pwd + "/ios_project_config/#{tenant_id}/ProjectConfig.plist"
|
55
|
+
fastlane_sign_plist_path = Dir.pwd + "/ios_project_config/#{tenant_id}/fastlane_sign.plist"
|
55
56
|
# 将配置文件拷贝到工程目录下
|
56
57
|
current_plist_path = Dir.pwd + '/AddxAi/AppConfig/ProjectConfig.plist'
|
58
|
+
current_fastlane_plist_path = Dir.pwd + '/AddxAi/AppConfig/fastlane_sign.plist'
|
57
59
|
FileUtils.cp(project_config_plist_path, current_plist_path)
|
60
|
+
FileUtils.cp(fastlane_sign_plist_path, current_fastlane_plist_path)
|
58
61
|
puts "AppIcon.appiconset path is: #{Dir.pwd + "/ios_project_config/#{tenant_id}/resource/AppIcon.appiconset"}"
|
59
62
|
puts "dest AppIcon.appiconset path is: #{Dir.pwd + '/AddxAi/Assets.xcassets/AppIcon.appiconset'}"
|
60
63
|
# 将资源文件拷贝到资源目录下
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-hooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- huafeng
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|