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

View File

@ -2,7 +2,6 @@ INNO_VERSION=6.2.0
TEMP_DIR=/tmp/spotube-tar TEMP_DIR=/tmp/spotube-tar
USR_SHARE=deb-struct/usr/share USR_SHARE=deb-struct/usr/share
BUNDLE_DIR=build/linux/x64/release/bundle BUNDLE_DIR=build/linux/x64/release/bundle
ANDROID_OUTPUT_DIR=build/app/outputs/apk/release
MIRRORLIST=${PWD}/build/mirrorlist MIRRORLIST=${PWD}/build/mirrorlist
deb: deb:
mkdir -p ${USR_SHARE}/spotube\ mkdir -p ${USR_SHARE}/spotube\
@ -52,9 +51,7 @@ choco:
powershell choco pack .\choco-struct\spotube.nuspec --outputdirectory build powershell choco pack .\choco-struct\spotube.nuspec --outputdirectory build
apk: apk:
mv ${ANDROID_OUTPUT_DIR}/app-arm64-v8a-release.apk build/Spotube-android-arm64-v8a.apk\ mv build/app/outputs/apk/release/app-release.apk build/Spotube-android-all-arch.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
gensums: gensums:
sh -c scripts/gensums.sh 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 ## Android
Download the Android app according to your device's CPU architecture 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
- [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
## Windows ## Windows

View File

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