Merge pull request #1 from Moles-LLC/obfuscation

funny obfuscation
This commit is contained in:
ZeoNight 2022-05-07 16:51:42 +00:00 committed by GitHub
commit 2b47dba5f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -20,5 +20,6 @@ export JAVA_HOME="$HOME/.jdks/openjdk-17.0.1/"
if [[ ! -d bin ]]; then
mkdir bin
fi
mv ./build/libs/shadow-1.0.0.jar bin
mv ./build/libs/shadow-1.0.0.jar bin/shadow-deobfuscated-$ver
./obfuscatedRelease.sh
echo "Made release"

7
obfuscatedRelease.sh Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
echo "Making Obfuscated Build"
ver=`cat ./src/main/resources/version.txt`
./gradlew build
java -jar "./proguard/proguard.jar" "$@"
mv ./build/libs/shadow-1.0.0.jar bin/shadow-$ver

BIN
proguard/proguard.jar Normal file

Binary file not shown.