mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-29 07:27:36 +08:00
App.IsMini
This commit is contained in:
@@ -242,12 +242,12 @@ namespace System.Application.UI
|
||||
IsNotOfficialChannelPackageWarning();
|
||||
}
|
||||
}
|
||||
|
||||
desktop.MainWindow =
|
||||
#if !UI_DEMO
|
||||
if (Program.IsMinimize)
|
||||
desktop.MainWindow = null;
|
||||
else
|
||||
Program.IsMinimize ? null :
|
||||
#endif
|
||||
desktop.MainWindow = MainWindow;
|
||||
MainWindow;
|
||||
|
||||
desktop.Startup += Desktop_Startup;
|
||||
desktop.Exit += ApplicationLifetime_Exit;
|
||||
|
||||
Reference in New Issue
Block a user