summary refs log tree commit diff
path: root/pkgs/applications/audio/clementine/clementine-spotify-blob.patch
blob: 344fc31d70dcc9e438d4d2569520eb1692fe1aae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/internet/spotify/spotifyservice.cpp b/src/internet/spotify/spotifyservice.cpp
index 88c7383..6e0893c 100644
--- a/src/internet/spotify/spotifyservice.cpp
+++ b/src/internet/spotify/spotifyservice.cpp
@@ -94,7 +94,7 @@ SpotifyService::SpotifyService(Application* app, InternetModel* parent)
   system_blob_path_ = QCoreApplication::applicationDirPath() +
                       "/../PlugIns/clementine-spotifyblob";
 #else
-  system_blob_path_ = QCoreApplication::applicationDirPath() +
+  system_blob_path_ = qgetenv("CLEMENTINE_SPOTIFYBLOB") +
                       "/clementine-spotifyblob" CMAKE_EXECUTABLE_SUFFIX;
 #endif