🐛 Optimize the multi-platform experience of hide on close

This commit is contained in:
Tw93
2025-08-31 15:02:25 +08:00
parent a7f1fa1b40
commit 85943b8134
9 changed files with 54 additions and 20 deletions

View File

@@ -293,7 +293,7 @@ Specify the system tray icon. This is only effective when the system tray is ena
#### [hide-on-close]
Hide window instead of closing the application when clicking close button. Default is `true`.
Hide window instead of closing the application when clicking close button. Platform-specific default: `true` for macOS, `false` for Windows/Linux.
```shell
--hide-on-close

View File

@@ -292,7 +292,7 @@ pake [url] [options]
#### [hide-on-close]
点击关闭按钮时隐藏窗口而不是退出应用程序。默认为 `true`。
点击关闭按钮时隐藏窗口而不是退出应用程序。平台特定默认值macOS 为 `true`Windows/Linux 为 `false`。
```shell
--hide-on-close