From 8bcbec08590cee2bb31d32e156b7fa48275fe766 Mon Sep 17 00:00:00 2001 From: Coloryr <402067010@qq.com> Date: Mon, 5 Aug 2024 17:48:13 +0800 Subject: [PATCH] Update WindowManager.cs --- src/ColorMC.Gui/Manager/WindowManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ColorMC.Gui/Manager/WindowManager.cs b/src/ColorMC.Gui/Manager/WindowManager.cs index 6bcb98142..58b6010e3 100644 --- a/src/ColorMC.Gui/Manager/WindowManager.cs +++ b/src/ColorMC.Gui/Manager/WindowManager.cs @@ -80,7 +80,8 @@ public static void Init() AllWindow.Model.HeadDisplay = false; AllWindow.Opened(); } - else if (SystemInfo.Os == OsType.Linux) + else if (SystemInfo.Os == OsType.Linux || + (SystemInfo.Os == OsType.Windows && !SystemInfo.IsWin11)) { var win = new SingleBorderWindow(); AllWindow = win.Win;