增加clean

This commit is contained in:
“lushunming” 2024-08-10 15:31:51 +08:00
parent c69ced1b6c
commit dc1a5ead13
3 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,5 @@
@echo off
call "%~dp0\gradlew" clean
call "%~dp0\gradlew" assembleRelease --no-daemon

View File

@ -1,6 +1,7 @@
chmod +x ./gradlew
chmod +x ./jar/genJar.sh
./gradlew clean
./gradlew assembleRelease --no-daemon
./jar/genJar.sh

View File

@ -14,9 +14,9 @@ if [ ! -f "$DIR"/spider.jar/smali/com/github/catvod/ ]; then
mkdir -p "$DIR"/spider.jar/smali/com/github/catvod/
fi
mv "$DIR"/Smali_classes/com/github/catvod/spider "$DIR"/spider.jar/smali/com/github/catvod/
mv "$DIR"/Smali_classes/com/github/catvod/parser "$DIR"/spider.jar/smali/com/github/catvod/
mv "$DIR"/Smali_classes/com/github/catvod/js "$DIR"/spider.jar/smali/com/github/catvod/
cp -rf "$DIR"/Smali_classes/com/github/catvod/spider "$DIR"/spider.jar/smali/com/github/catvod/
cp -rf "$DIR"/Smali_classes/com/github/catvod/parser "$DIR"/spider.jar/smali/com/github/catvod/
cp -rf "$DIR"/Smali_classes/com/github/catvod/js "$DIR"/spider.jar/smali/com/github/catvod/
java -jar "$DIR"/3rd/apktool_2.4.1.jar b "$DIR"/spider.jar -c