Skip to content
This repository was archived by the owner on Jan 16, 2020. It is now read-only.

Commit 034c22f

Browse files
committed
Explicitly start Spotify in the background
1 parent 48a9290 commit 034c22f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MuteSpotifyAds/SpotifyManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class SpotifyManager: NSObject {
8787
let process = Process();
8888
// Open application with bundle identifier
8989
process.launchPath = "/usr/bin/open"
90-
process.arguments = ["-b", "com.spotify.client"]
90+
process.arguments = ["--hide", "-b", "com.spotify.client"]
9191
process.launch()
9292
process.waitUntilExit()
9393
}

0 commit comments

Comments
 (0)