增加clean
This commit is contained in:
parent
c69ced1b6c
commit
dc1a5ead13
|
|
@ -1,4 +1,5 @@
|
|||
@echo off
|
||||
call "%~dp0\gradlew" clean
|
||||
|
||||
call "%~dp0\gradlew" assembleRelease --no-daemon
|
||||
|
||||
|
|
|
|||
3
build.sh
3
build.sh
|
|
@ -1,7 +1,8 @@
|
|||
|
||||
chmod +x ./gradlew
|
||||
chmod +x ./jar/genJar.sh
|
||||
./gradlew assembleRelease --no-daemon
|
||||
./gradlew clean
|
||||
./gradlew assembleRelease --no-daemon
|
||||
|
||||
./jar/genJar.sh
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue