mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2025-01-11 14:07:47 +00:00
Merge pull request #28 from Wampe/master
Fixed process start for application and webhelper
This commit is contained in:
commit
9ac735f1c7
@ -248,7 +248,7 @@ namespace SpotifyAPI.Local
|
||||
public static void RunSpotify()
|
||||
{
|
||||
if (!IsSpotifyRunning())
|
||||
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"\spotify\spotify.exe"));
|
||||
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"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user