mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-10-16 23:13:08 +01:00
Fixed process start for application and webhelper
This commit is contained in:
parent
546d745a70
commit
6ec8926a4f
@ -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(string.Concat(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(string.Concat(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"\spotify\data\spotifywebhelper.exe"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user