mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
Reverted to Path.Combine and removed the wrong backslash (comment by JohnnyCrazy at github)
This commit is contained in:
parent
6ec8926a4f
commit
d92c09740c
@ -248,7 +248,7 @@ namespace SpotifyAPI.Local
|
|||||||
public static void RunSpotify()
|
public static void RunSpotify()
|
||||||
{
|
{
|
||||||
if (!IsSpotifyRunning())
|
if (!IsSpotifyRunning())
|
||||||
Process.Start(string.Concat(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(string.Concat(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