🐛 Optimize the multi-platform experience of hide on close
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -292,7 +292,7 @@ pake [url] [options]
|
||||
|
||||
#### [hide-on-close]
|
||||
|
||||
点击关闭按钮时隐藏窗口而不是退出应用程序。默认为 `true`。
|
||||
点击关闭按钮时隐藏窗口而不是退出应用程序。平台特定默认值:macOS 为 `true`,Windows/Linux 为 `false`。
|
||||
|
||||
```shell
|
||||
--hide-on-close
|
||||
|
||||
Reference in New Issue
Block a user