Have no idea if itll work but here is the obfuscation

This commit is contained in:
ZeoNight 2022-05-04 16:00:20 +00:00 committed by GitHub
parent abb8b7e57a
commit 156856048e
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.