app-tools 1.8.0 → 1.8.1
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 +4 -4
- data/bin/resignipa +2 -3
- data/lib/app_tools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e10adea499043f91c809ae91356e1b06daabece
|
|
4
|
+
data.tar.gz: 81f1a75a3a4c64f74d1dd13d0af82ccebabd8842
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54c73684dbbcd18550533bc5aaad38f87b6322c412a5d1d666b5196c224bd0f809063dcb0b15a768b04f035350cdd05e6c44046465bd0c9cbdcd69119c6f7a69
|
|
7
|
+
data.tar.gz: b5f94e4b5cae1f24020543a0c43b2739e803b1649105ac52283496e05a989fd4579760578287ea97be0b8db001ddec50bc1673c686bb43e31c4004aa180788d9
|
data/bin/resignipa
CHANGED
|
@@ -105,14 +105,13 @@ module AppTools
|
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
## Repack
|
|
108
|
-
new_ipa_dir = File.join(File.dirname(ipa_path), ipa_basename +
|
|
108
|
+
new_ipa_dir = File.join(File.dirname(ipa_path), ipa_basename + '.' + [*('a'..'z'),*('0'..'9')].shuffle[0,8].join)
|
|
109
109
|
new_ipa_path = File.expand_path(File.join(new_ipa_dir, File.basename(ipa_path)))
|
|
110
110
|
FileUtils.rm_rf new_ipa_dir
|
|
111
111
|
FileUtils.mkdir new_ipa_dir
|
|
112
112
|
|
|
113
|
-
# NOTE: The zip tool
|
|
113
|
+
# NOTE: The zip tool...
|
|
114
114
|
`cd #{contents_dir}; zip -r #{new_ipa_path} *`
|
|
115
|
-
#FileUtils.rm_rf temp_dir
|
|
116
115
|
puts new_ipa_path
|
|
117
116
|
end
|
|
118
117
|
|
data/lib/app_tools/version.rb
CHANGED