shipping single android bundle containing all available ABIs for simplicity

This commit is contained in:
Kingkor Roy Tirtho 2022-03-25 00:03:17 +06:00
parent 11d0e4783e
commit a8fd1d1971
4 changed files with 5 additions and 15 deletions

View File

@ -28,7 +28,7 @@ jobs:
- run: pip3 install appimage-builder
- run: make appimage
# Building Android Application
- run: flutter build apk --split-per-abi
- run: flutter build apk
- run: make apk
- uses: actions/upload-artifact@v2
with:
@ -37,9 +37,7 @@ jobs:
build/Spotube-linux-x86_64.deb
build/Spotube-linux-x86_64.tar.xz
build/Spotube-*-x86_64.AppImage
build/Spotube-android-arm64-v8a.apk
build/Spotube-android-armeabi-v7a.apk
build/Spotube-android-x86_64.apk
build/Spotube-android-all-arch.apk
build_windows:
runs-on: windows-latest
steps:

View File

@ -2,7 +2,6 @@ INNO_VERSION=6.2.0
TEMP_DIR=/tmp/spotube-tar
USR_SHARE=deb-struct/usr/share
BUNDLE_DIR=build/linux/x64/release/bundle
ANDROID_OUTPUT_DIR=build/app/outputs/apk/release
MIRRORLIST=${PWD}/build/mirrorlist
deb:
mkdir -p ${USR_SHARE}/spotube\
@ -52,9 +51,7 @@ choco:
powershell choco pack .\choco-struct\spotube.nuspec --outputdirectory build
apk:
mv ${ANDROID_OUTPUT_DIR}/app-arm64-v8a-release.apk build/Spotube-android-arm64-v8a.apk\
&& mv ${ANDROID_OUTPUT_DIR}/app-armeabi-v7a-release.apk build/Spotube-android-armeabi-v7a.apk\
&& mv ${ANDROID_OUTPUT_DIR}/app-x86_64-release.apk build/Spotube-android-x86_64.apk
mv build/app/outputs/apk/release/app-release.apk build/Spotube-android-all-arch.apk
gensums:
sh -c scripts/gensums.sh

View File

@ -48,12 +48,7 @@ All the binaries are located in the [releases](https://github.com/krtirtho/spotu
## Android
Download the Android app according to your device's CPU architecture
- [arm64-v8a (for 64 bit ARM)](https://github.com/KRTirtho/spotube/releases/latest/download/Spotube-android-arm64-v8a.apk)
- [armeabi-v7a (for 32 bit ARM)](https://github.com/KRTirtho/spotube/releases/latest/download/Spotube-android-armeabi-v7a.apk)
- [x86_64 (for 64 bit x86/amd64)](https://github.com/KRTirtho/spotube/releases/latest/download/Spotube-android-x86_64.apk)
Then install it on your Android smartphone/tablet
Download the [Android app](https://github.com/KRTirtho/spotube/releases/latest/download/Spotube-android-all-arch.apk) & then install it on your Android smartphone/tablet
## Windows

View File

@ -28,7 +28,7 @@
</activity>
<service android:name="com.ryanheise.audioservice.AudioService">
<service android:name="com.ryanheise.audioservice.AudioService" android:exported="false">
<intent-filter>
<action android:name="android.media.browse.MediaBrowserService" />
</intent-filter>