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
@ -247,8 +247,8 @@ namespace SpotifyAPI.Local
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static void RunSpotify()
|
public static void RunSpotify()
|
||||||
{
|
{
|
||||||
if (!IsSpotifyRunning())
|
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>
|
/// <summary>
|
||||||
@ -257,7 +257,7 @@ namespace SpotifyAPI.Local
|
|||||||
public static void RunSpotifyWebHelper()
|
public static void RunSpotifyWebHelper()
|
||||||
{
|
{
|
||||||
if (!IsSpotifyWebHelperRunning())
|
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