From 32685829df0b3f2d035d0fb29ddb8ee9d09023d9 Mon Sep 17 00:00:00 2001 From: jetfir3 Date: Wed, 26 Aug 2026 12:19:06 -0400 Subject: [PATCH] Support Negativo17 Fedora Spotify installs Add automatic detection for the Negativo17 spotify-client layout and handle its cache as a normal native Linux installation. --- spotx.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spotx.sh b/spotx.sh index 22954a7..ba235da 100644 --- a/spotx.sh +++ b/spotx.sh @@ -286,7 +286,7 @@ linux_client_variant() { } return 0 } - [[ "${installPath}" == *"opt/spotify"* || "${installPath}" == *"spotify-launcher"* || "${installPath}" == *"usr/share/spotify"* ]] && { + [[ "${installPath}" == *"opt/spotify"* || "${installPath}" == *"spotify-launcher"* || "${installPath}" == *"usr/share/spotify"* || "${installPath}" == *"usr/lib64/spotify-client"* ]] && { cachePath="${HOME}/.cache/spotify" [[ -d "${cachePath}" ]] || unset cachePath return 0 @@ -350,6 +350,7 @@ linux_search_path() { local flatpakPath spotifyBinary xpuiFile path linux_resolve_client_path "/opt/spotify" && return 0 linux_resolve_client_path "/usr/share/spotify" && return 0 + linux_resolve_client_path "/usr/lib64/spotify-client" && return 0 linux_resolve_client_path "$HOME/.local/share/spotify-launcher/install/usr/share/spotify" && return 0 spotifyBinary=$(command -v spotify 2>/dev/null) [[ -n "${spotifyBinary}" ]] && {