feat: 104版本

This commit is contained in:
2026-01-25 03:34:45 -08:00
parent 2fab52d362
commit 94d0a78e89
5 changed files with 112 additions and 25 deletions
+10 -1
View File
@@ -15,6 +15,7 @@ endif
APP_NAME=HiFastVPN
VERSION_NAME=$(shell grep '^version:' pubspec.yaml | sed 's/version: //;s/+.*//;s/[^0-9.]//g')
VERSION_BUILD=$(shell grep '^version:' pubspec.yaml | sed 's/.*+//;s/[^0-9]//g')
FULL_VERSION=$(shell grep '^version:' pubspec.yaml | sed 's/version: //;s/[[:space:]]//g')
BINDIR=libcore$(SEP)bin
@@ -173,7 +174,15 @@ android-rename:
android-apk-release:
echo flutter build apk --target $(TARGET) $(BUILD_ARGS) --target-platform android-arm,android-arm64,android-x64 --split-per-abi --verbose
flutter build apk --target $(TARGET) $(BUILD_ARGS) --target-platform android-arm,android-arm64,android-x64 --verbose
flutter build apk --target $(TARGET) $(BUILD_ARGS) --target-platform android-arm,android-arm64,android-x64 --split-per-abi --verbose
@mkdir -p dist/$(FULL_VERSION)
@if [ -f build/app/outputs/apk/release/app-arm64-v8a-release.apk ]; then \
echo "Moving and renaming APK to dist/$(FULL_VERSION)/$(APP_NAME)-$(FULL_VERSION).apk"; \
mv build/app/outputs/apk/release/app-arm64-v8a-release.apk dist/$(FULL_VERSION)/$(APP_NAME)-$(FULL_VERSION).apk; \
elif [ -f build/app/outputs/flutter-apk/app-arm64-v8a-release.apk ]; then \
echo "Moving and renaming APK to dist/$(FULL_VERSION)/$(APP_NAME)-$(FULL_VERSION).apk"; \
mv build/app/outputs/flutter-apk/app-arm64-v8a-release.apk dist/$(FULL_VERSION)/$(APP_NAME)-$(FULL_VERSION).apk; \
fi
ls -R build/app/outputs
android-aab-release: