mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-25 00:38:08 -05:00
commit
2b47dba5f5
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