mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
Mobile volume not set to max bug fix
WinGet release GHA action added
This commit is contained in:
parent
02370c331a
commit
b0bcb2a85c
21
.github/workflows/spotube-release.yml
vendored
21
.github/workflows/spotube-release.yml
vendored
@ -216,19 +216,14 @@ jobs:
|
|||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
artifacts: Spotube-Windows-Bundle/*,Spotube-Macos-Bundle/*,Spotube-Linux-Bundle/*,Spotube-Android-Bundle/*,RELEASE.sha256sum,RELEASE.md5sum
|
artifacts: Spotube-Windows-Bundle/*,Spotube-Macos-Bundle/*,Spotube-Linux-Bundle/*,Spotube-Android-Bundle/*,RELEASE.sha256sum,RELEASE.md5sum
|
||||||
|
|
||||||
# publish_winget:
|
publish_winget:
|
||||||
# needs: update_release
|
needs: update_release
|
||||||
# runs-on: windows-latest
|
runs-on: windows-latest # action can only be run on windows
|
||||||
# steps:
|
steps:
|
||||||
# - name: Get latest tag
|
- uses: vedantmgoyal2009/winget-releaser@latest
|
||||||
# id: tag
|
with:
|
||||||
# uses: dawidd6/action-get-tag@v1
|
identifier: KRTirtho.Spotube
|
||||||
# with:
|
token: ${{ secrets.WINGET_TOKEN }}
|
||||||
# strip_v: true
|
|
||||||
# - run: |
|
|
||||||
# winget install wingetcreate --silent
|
|
||||||
# choco install tree -y
|
|
||||||
# wingetcreate update KRTirtho.Spotube --urls https://github.com/KRTirtho/spotube/releases/download/v${{ github.event.inputs.tag }}/Spotube-windows-x86_64-setup.exe https://github.com/KRTirtho/spotube/releases/download/v${{ github.event.inputs.tag }}/Spotube-windows-x86_64-setup.exe --version ${{ github.event.inputs.tag }} --token ${{ secrets.GITHUB_TOKEN }} --submit
|
|
||||||
|
|
||||||
publish_flathub:
|
publish_flathub:
|
||||||
needs: update_release
|
needs: update_release
|
||||||
|
@ -86,7 +86,12 @@ class Playback extends PersistedChangeNotifier {
|
|||||||
(() async {
|
(() async {
|
||||||
cache = await Hive.openLazyBox<CacheTrack>("track-cache");
|
cache = await Hive.openLazyBox<CacheTrack>("track-cache");
|
||||||
|
|
||||||
await player.setVolume(volume);
|
if (Platform.isAndroid) {
|
||||||
|
await player.setVolume(1);
|
||||||
|
volume = 1;
|
||||||
|
} else {
|
||||||
|
await player.setVolume(volume);
|
||||||
|
}
|
||||||
|
|
||||||
_subscriptions.addAll([
|
_subscriptions.addAll([
|
||||||
player.onPlayerStateChanged.listen(
|
player.onPlayerStateChanged.listen(
|
||||||
|
Loading…
Reference in New Issue
Block a user