mirror of
https://github.com/Royce551/FRESHMusicPlayer.git
synced 2025-01-22 10:51:52 -05:00
updates to work properly under single file
This commit is contained in:
parent
3ae5aac25e
commit
2791912593
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ namespace FRESHMusicPlayer.ViewModels
|
|||
if (Application.Current.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime lifeTime)
|
||||
{
|
||||
lifeTime.Shutdown();
|
||||
Process.Start(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "FRESHMusicPlayer"));
|
||||
Process.Start(Path.Combine(Path.GetDirectoryName(System.AppContext.BaseDirectory), "FRESHMusicPlayer"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue