mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 12:42:34 +00:00
[Release] v4.2.0+40200001 (#287)
NEW - [Settings/Modules] Add an information/help button with module descriptions and links TWEAKS - [Radarr] Always show the amount of days content will be available instead of limiting it to only content in the next 30 days - [Settings] Moved "Backup & Restore" and "Logs" to "System" section - [Settings] Merged "Customization" and "Modules" sections into "Configuration" - [Settings/Sonarr] Removed the need to enable Sonarr to test the connection - [Settings/Tautulli] Removed the need to enable Tautulli to test the connection FIXES - [IAPs] Ensure all IAPs are marked as "consumed" - [Flutter] Updated packages - [Logging] Updated Sentry to v4 framework to improve capturing fatal/crashing bugs - [Settings/Logs] Hide exception and stack trace buttons when an error is not available - [Sonarr/History] Fixed history fetching the oldest entries, not the newest - [State] Correctly clear state when clearing LunaSea's configuration - [Tautulli/Activity] Fixed consistency of hardware transcoding indicator compared to the web UI - [UI/Divider] Fix consistency of divider width across regular and AMOLED dark theme
This commit is contained in:
13
scripts/build_aab
Executable file
13
scripts/build_aab
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd ..
|
||||
# Remove old builds
|
||||
rm -rf output/*.aab
|
||||
# Clean and build
|
||||
flutter clean
|
||||
flutter build appbundle
|
||||
# Copy APKs to root of project
|
||||
mkdir -p output
|
||||
cp build/app/outputs/bundle/release/app-release.aab ./LunaSea-release.aab
|
||||
# Remove build files
|
||||
rm -rf build
|
||||
@@ -2,15 +2,14 @@
|
||||
|
||||
cd ..
|
||||
# Remove old builds
|
||||
rm -rf ./LunaSea-arm64-v8a-release.apk
|
||||
rm -rf ./LunaSea-armeabi-v7a-release.apk
|
||||
rm -rf ./LunaSea-x86_64-release.apk
|
||||
rm -rf output/*.apk
|
||||
# Clean and build
|
||||
flutter clean
|
||||
flutter build apk --split-per-abi
|
||||
# Copy APKs to root of project
|
||||
cp ./build/app/outputs/apk/release/app-armeabi-v7a-release.apk ./LunaSea-armeabi-v7a-release.apk
|
||||
cp ./build/app/outputs/apk/release/app-arm64-v8a-release.apk ./LunaSea-arm64-v8a-release.apk
|
||||
cp ./build/app/outputs/apk/release/app-x86_64-release.apk ./LunaSea-x86_64-release.apk
|
||||
mkdir -p output
|
||||
cp build/app/outputs/apk/release/app-armeabi-v7a-release.apk output/LunaSea-armeabi-v7a-release.apk
|
||||
cp build/app/outputs/apk/release/app-arm64-v8a-release.apk output/LunaSea-arm64-v8a-release.apk
|
||||
cp build/app/outputs/apk/release/app-x86_64-release.apk output/LunaSea-x86_64-release.apk
|
||||
# Remove build files
|
||||
rm -rf ./build
|
||||
rm -rf build
|
||||
|
||||
@@ -2,17 +2,18 @@
|
||||
|
||||
cd ..
|
||||
# Remove old builds
|
||||
rm -rf ./LunaSea.ipa
|
||||
rm -rf output/*.ipa
|
||||
# Clean and build
|
||||
flutter clean
|
||||
flutter build ios
|
||||
# Export build to IPA
|
||||
cd ios
|
||||
xcodebuild -workspace Runner.xcworkspace -scheme Runner -sdk iphoneos -configuration Release archive -archivePath ./build/Runner.xcarchive
|
||||
xcodebuild -exportArchive -archivePath ./build/Runner.xcarchive -exportOptionsPlist ./ExportOptions.plist -exportPath ./build/Runner.ipa
|
||||
xcodebuild -workspace Runner.xcworkspace -scheme Runner -sdk iphoneos -configuration Release archive -archivePath build/LunaSea.xcarchive
|
||||
xcodebuild -exportArchive -archivePath build/LunaSea.xcarchive -exportOptionsPlist ExportOptions.plist -exportPath build/LunaSea.app
|
||||
# Copy IPA to root of project
|
||||
cd ..
|
||||
cp ios/build/Runner.ipa/Runner.ipa ./LunaSea.ipa
|
||||
mkdir -p output
|
||||
cp ios/build/LunaSea.app/LunaSea.ipa output/LunaSea.ipa
|
||||
# Remove build files
|
||||
rm -rf build
|
||||
rm -rf build ios/build
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd ..
|
||||
# Remove old builds
|
||||
flutter clean
|
||||
# Prepare iOS
|
||||
flutter build ios
|
||||
# Build Android
|
||||
flutter build appbundle
|
||||
cp build/app/outputs/bundle/release/app-release.aab ./lunasea.aab
|
||||
Reference in New Issue
Block a user