mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-19 21:39:09 +08:00
fix LinkedStartEnabled not working
This commit is contained in:
@@ -128,7 +128,7 @@ public partial class HomePageViewModel : ObservableObject, INavigationAware
|
||||
var hWnd = SystemControl.FindGenshinImpactHandle();
|
||||
if (hWnd == IntPtr.Zero)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Config.GenshinStartConfig.InstallPath))
|
||||
if (Config.GenshinStartConfig.LinkedStartEnabled && !string.IsNullOrEmpty(Config.GenshinStartConfig.InstallPath))
|
||||
{
|
||||
hWnd = await SystemControl.StartFromLocalAsync(Config.GenshinStartConfig.InstallPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user