This commit is contained in:
jetfir3
2024-05-01 18:15:49 -04:00
committed by GitHub
parent 42cf07d803
commit 089f9b1803

View File

@@ -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() {