From dc1a5ead134265a7e28ffb6c88c46467f4832f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Clushunming=E2=80=9D?= <“lusm@oceansoft.com.cn”> Date: Sat, 10 Aug 2024 15:31:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0clean?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.bat | 1 + build.sh | 3 ++- jar/genJar.sh | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build.bat b/build.bat index 72e0b5c6..93990eaf 100644 --- a/build.bat +++ b/build.bat @@ -1,4 +1,5 @@ @echo off +call "%~dp0\gradlew" clean call "%~dp0\gradlew" assembleRelease --no-daemon diff --git a/build.sh b/build.sh index c2efb5ff..7d34a74b 100755 --- a/build.sh +++ b/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 diff --git a/jar/genJar.sh b/jar/genJar.sh index 328a2d94..082525fe 100755 --- a/jar/genJar.sh +++ b/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