Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
- fix #47
  • Loading branch information
jetfir3 committed Jun 5, 2024
1 parent 450b186 commit e00fb83
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spotx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,13 @@ linux_client_variant() {
[[ -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
return 0
}
[[ "${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); :
cachePath=$(timeout 10 find $HOME/.cache/ -type d -path "*.cache/spotify*" -not -path "*snap/spotify*" -name "spotify" -print -quit 2>/dev/null)
return 0
}
:
return 0
}

linux_deb_prepare() {
Expand Down

0 comments on commit e00fb83

Please sign in to comment.