Skip to content

Commit 9ac735f

Browse files
author
Jonas Dellinger
committed
Merge pull request #28 from Wampe/master
Fixed process start for application and webhelper
2 parents 546d745 + d92c097 commit 9ac735f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

SpotifyAPI/Local/SpotifyLocalAPI.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ public static Boolean IsSpotifyWebHelperRunning()
247247
/// </summary>
248248
public static void RunSpotify()
249249
{
250-
if (!IsSpotifyRunning())
251-
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"\spotify\spotify.exe"));
250+
if (!IsSpotifyRunning())
251+
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"spotify\spotify.exe"));
252252
}
253253

254254
/// <summary>
@@ -257,7 +257,7 @@ public static void RunSpotify()
257257
public static void RunSpotifyWebHelper()
258258
{
259259
if (!IsSpotifyWebHelperRunning())
260-
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"\spotify\data\spotifywebhelper.exe"));
260+
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"spotify\data\spotifywebhelper.exe"));
261261
}
262262
}
263263
}

0 commit comments

Comments
 (0)