codeobscure 0.1.7.3 → 0.1.7.4
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/lib/codeobscure.rb +3 -3
- data/lib/codeobscure/filtsymbols.rb +1 -1
- data/lib/codeobscure/obscure.rb +2 -2
- data/lib/codeobscure/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e01eabffe5671f5bea87832591056d200d93a454efce20f58fa0eaa36d5e8f5d
|
|
4
|
+
data.tar.gz: dbde62b4c7be2e895b508aac8d50dfcd5a1faf0bf09ae5366deebce7920d76f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26eb0ab3c40156f6486b3ed9d8537dbb4bea7e9b3a2c9f50276f9fe6c14fdbcb4b1bbb8c6dc811252e0b8c8e849a1df541cb3a0046b12e87d24d27cd1999b40d
|
|
7
|
+
data.tar.gz: dbe940dbf143bc58b0207f854044cc55adca2f0a60e7d075cdf8be2bea204993d7707a5a4c27e12b91ecd83c0009ce47d57a3271f8610e4c5aaa65b1e47e701c
|
data/lib/codeobscure.rb
CHANGED
|
@@ -57,8 +57,8 @@ module Codeobscure
|
|
|
57
57
|
end.parse!
|
|
58
58
|
|
|
59
59
|
if options[:reset]
|
|
60
|
-
`rm -f #{root}/filtSymbols`
|
|
61
|
-
`cp #{root}/filtSymbols_standard #{root}/filtSymbols`
|
|
60
|
+
`rm -f '#{root}/filtSymbols'`
|
|
61
|
+
`cp '#{root}/filtSymbols_standard #{root}/filtSymbols'`
|
|
62
62
|
puts "重置完毕!".colorize(:green)
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -131,7 +131,7 @@ module Codeobscure
|
|
|
131
131
|
end
|
|
132
132
|
project.save
|
|
133
133
|
#Fix bug for SIP
|
|
134
|
-
system "chmod 755 #{xpj_path}/project.pbxproj"
|
|
134
|
+
system "chmod 755 '#{xpj_path}/project.pbxproj'"
|
|
135
135
|
puts "配置完成!".colorize(:green)
|
|
136
136
|
puts "请直接运行项目,如果项目中出现类似: `+[LoremIpsum PyTJvHwWNmeaaVzp:]: unrecognized selector sent to class`。在codeObfuscation.h中查询PyTJvHwWNmeaaVzp并删除它!".colorize(:yellow)
|
|
137
137
|
else
|
data/lib/codeobscure/obscure.rb
CHANGED
|
@@ -86,7 +86,7 @@ module Obscure
|
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
if File.exists? @@HEAD_FILE
|
|
89
|
-
`rm -f #{@@HEAD_FILE}`
|
|
89
|
+
`rm -f '#{@@HEAD_FILE}'`
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
date = `date`
|
|
@@ -123,7 +123,7 @@ module Obscure
|
|
|
123
123
|
file.close
|
|
124
124
|
|
|
125
125
|
if File.exist? @@STRING_SYMBOL_FILE
|
|
126
|
-
`rm -f #{@@STRING_SYMBOL_FILE}`
|
|
126
|
+
`rm -f '#{@@STRING_SYMBOL_FILE}'`
|
|
127
127
|
end
|
|
128
128
|
@@HEAD_FILE
|
|
129
129
|
end
|
data/lib/codeobscure/version.rb
CHANGED