mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-14 10:54:55 -05:00
Have no idea if itll work but here is the obfuscation
This commit is contained in:
parent
abb8b7e57a
commit
156856048e
3 changed files with 9 additions and 1 deletions
|
@ -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
7
obfuscatedRelease.sh
Normal 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
BIN
proguard/proguard.jar
Normal file
Binary file not shown.
Loading…
Reference in a new issue