This commit is contained in:
2dust
2024-08-30 12:59:43 +08:00
parent d189f4b443
commit 79085af994
7 changed files with 17 additions and 2 deletions
@@ -402,7 +402,7 @@ namespace ServiceLib.ViewModels
}
if (_config.uiItem.enableAutoAdjustMainLvColWidth)
{
Locator.Current.GetService<ProfilesViewModel>()?.AutofitColumnWidthAsync();
_updateView?.Invoke(EViewAction.AdjustMainLvColWidth, null);
}
}
}
@@ -723,7 +723,7 @@ namespace ServiceLib.ViewModels
private void CheckUpdateN()
{
//Check for standalone windows .Net version
if (Utils.IsWindows()
if (Utils.IsWindows()
&& File.Exists(Path.Combine(Utils.StartupPath(), "wpfgfx_cor3.dll"))
&& File.Exists(Path.Combine(Utils.StartupPath(), "D3DCompiler_47_cor3.dll"))
)