mirror of
https://github.com/SpotX-Official/SpotX-Bash.git
synced 2026-04-11 17:37:20 +10:00
Update
This commit is contained in:
7
spotx.sh
7
spotx.sh
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
buildVer="1.2.36.959.g04bf500c"
|
||||
buildVer="1.2.36.955.gd8cc9372"
|
||||
|
||||
case $(uname | tr '[:upper:]' '[:lower:]') in
|
||||
darwin*) platformType='macOS' ;;
|
||||
@@ -206,12 +206,15 @@ linux_client_variant() {
|
||||
flatpakVer=$(flatpak info com.spotify.Client | grep Version: | perl -ne '/Version: (1\.[0-9]+\.[0-9]+\.[0-9]+)\.g[0-9a-f]+/ && print "$1"')
|
||||
[[ -z "${flatpakVer+x}" ]] && versionFailed='true' || { clientVer="${flatpakVer}"; flatpakClient='true'; }
|
||||
cachePath=$(timeout 10 find /var/lib/flatpak/ $HOME/.var/app -type d -path "*com.spotify.Client/cache/spotify*" -name "spotify" -print -quit 2>/dev/null)
|
||||
:
|
||||
}
|
||||
return
|
||||
}
|
||||
[[ "${installPath}" == *"opt/Spotify"* || "${installPath}" == *"spotify-launcher"* || "${installPath}" == *"usr/share/spotify"* ]] && {
|
||||
[[ "${installPath}" == *"opt/spotify"* || "${installPath}" == *"spotify-launcher"* || "${installPath}" == *"usr/share/spotify"* ]] && {
|
||||
cachePath=$(timeout 10 find $HOME/.cache/ -type d -path "*.cache/spotify*" -not -path "*snap/spotify*" -name "spotify" -print -quit 2>/dev/null)
|
||||
:
|
||||
}
|
||||
:
|
||||
}
|
||||
|
||||
linux_deb_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user