diff --git a/src/Program.cs b/src/Program.cs index 24de7e9..dc87495 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -18,7 +18,9 @@ public static void Main(string[] args) CommandProcessor.Process(args.ToList()); } else { +#if WIN_X64 WindowHelper.SetWindowMode(WindowMode.Hidden); +#endif BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); } } diff --git a/src/Totk.ZStdTool.csproj b/src/Totk.ZStdTool.csproj index bee1a1b..ec4989c 100644 --- a/src/Totk.ZStdTool.csproj +++ b/src/Totk.ZStdTool.csproj @@ -10,6 +10,7 @@ embedded Assets\icon.ico true + WIN_X64