Skip to content

Commit 1d830db

Browse files
authored
格式化
1 parent a538f5e commit 1d830db

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/obfuscate.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,30 @@ jobs:
3030
sed -i "s/20221209/"${{ secrets.XXTEA_KEY }}"/" ./commands.js
3131
fi
3232
uglifyjs ./terminal.js ./boot.js ./crypto.js ./system.js ./filesystem.js ./commands.js ./init.js -c -o ./output.js
33-
javascript-obfuscator ./output.js -o ../bundle.min.js --options-preset high-obfuscation --control-flow-flattening=true --debug-protection=true --debug-protection-interval=1000 --disable-console-output=true --domain-lock=exam.kernelsu.org --force-transform-strings=You,have,successfully,completed,exam,The,Group,Pass,word,pwd,fastboot --identifier-names-generator=dictionary --identifiers-dictionary=You,have,successfully,completed,exam,The,Group,Pass,word,pwd,decrypt,fastboot,ok,isOK,isSuccessfully,isTrue,secret,Terminal,term,commands --numbers-to-expressions=true --rename-globals=true --rename-properties=true --self-defending=true --split-strings-chunk-length=4 --split-strings=true --string-array-calls-transform=true --string-array-encoding=base64,rc4 --string-array-index-shift=true --string-array-shuffle=true --string-array=true --string-array-wrappers-chained-calls=true --transform-object-keys=true --unicode-escape-sequence=true
33+
javascript-obfuscator ./output.js -o ../bundle.min.js \
34+
--options-preset high-obfuscation \
35+
--control-flow-flattening=true \
36+
--debug-protection=true \
37+
--debug-protection-interval=1000 \
38+
--disable-console-output=true \
39+
--domain-lock=exam.kernelsu.org \
40+
--force-transform-strings=You,have,successfully,completed,exam,The,Group,Pass,word,pwd,fastboot \
41+
--identifier-names-generator=dictionary \
42+
--identifiers-dictionary=You,have,successfully,completed,exam,The,Group,Pass,word,pwd,decrypt,fastboot \
43+
--numbers-to-expressions=true \
44+
--rename-globals=true \
45+
--rename-properties=true \
46+
--self-defending=true \
47+
--split-strings-chunk-length=4 \
48+
--split-strings=true \
49+
--string-array-calls-transform=true \
50+
--string-array-encoding=base64,rc4 \
51+
--string-array-index-shift=true \
52+
--string-array-shuffle=true \
53+
--string-array=true \
54+
--string-array-wrappers-chained-calls=true \
55+
--transform-object-keys=true \
56+
--unicode-escape-sequence=true
3457
uglifyjs ./bundle.min.js -e -o ./bundle.min.js
3558
rm ./output.js
3659
if [ ! -z "${{ secrets.XXTEA_KEY }}" ]; then

0 commit comments

Comments
 (0)