Skip to content

Commit

Permalink
Update obfuscate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
real-LiHua authored Jun 18, 2024
1 parent 7914e69 commit 0fe40c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/obfuscate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
sed -i "s/20221209/"${{ secrets.XXTEA_KEY }}"/" ./commands.js
fi
uglifyjs ./terminal.js ./boot.js ./crypto.js ./system.js ./filesystem.js ./commands.js -c -o ./output.js
javascript-obfuscator ./output.js -o ../bundle.min.js --options-preset high-obfuscation
javascript-obfuscator ./output.js -o ../bundle.min.js --debug-protection --options-preset high-obfuscation --debug-protection-interval 666 --split-strings=true --split-strings-chunk-length=4 --string-array=true --string-array-calls-transform=true --string-array-encoding=base64,rc4 --string-array-index-shift=true --string-array-shuffle=true --string-array-wrappers-chained-calls=true --reserved-names=Terminal,commands --rename-globals=true --unicode-escape-sequence=true
rm ./output.js
if [ ! -z "${{ secrets.XXTEA_KEY }}" ]; then
sed -i "s/"${{ secrets.XXTEA_KEY }}"/20221209/" ./commands.js
Expand Down

0 comments on commit 0fe40c2

Please sign in to comment.