cutthecord/resources/patches/slashcommands/87202-pre.sh

10 lines
No EOL
349 B
Bash

#!/bin/bash
cd /opt/ctc/gitrepo/resources/patches/slashcommands/code
chmod +x gradlew
rm -rf build
./gradlew build
cd build/libs
/lib/android-sdk/build-tools/debian/dx --dex --output ctccommands.apk ctccommands-1.0-SNAPSHOT.jar
java -jar /opt/ctc/tools/apktool.jar d ctccommands.apk
cp -r ctccommands/smali/* ${DISTOK_EXTRACTED_DISCORD_PATH}/smali/