Merge pull request #28 from Wampe/master

Fixed process start for application and webhelper
This commit is contained in:
Jonas Dellinger 2015-08-02 23:13:08 +02:00
commit 9ac735f1c7

View File

@ -247,8 +247,8 @@ namespace SpotifyAPI.Local
/// </summary>
public static void RunSpotify()
{
if (!IsSpotifyRunning())
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"\spotify\spotify.exe"));
if (!IsSpotifyRunning())
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"spotify\spotify.exe"));
}
/// <summary>
@ -257,7 +257,7 @@ namespace SpotifyAPI.Local
public static void RunSpotifyWebHelper()
{
if (!IsSpotifyWebHelperRunning())
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"\spotify\data\spotifywebhelper.exe"));
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"spotify\data\spotifywebhelper.exe"));
}
}
}