hide-on-close support param

This commit is contained in:
Tw93
2025-09-16 10:21:27 +08:00
parent 6aaa9a4517
commit f626ad5a0c
4 changed files with 19 additions and 2 deletions

View File

@@ -284,7 +284,12 @@ pake https://github.com --name GitHub
点击关闭按钮时隐藏窗口而不是退出应用程序。平台特定默认值macOS 为 `true`Windows/Linux 为 `false`。
```shell
# 关闭时隐藏macOS 默认行为)
--hide-on-close
--hide-on-close true
# 立即关闭应用程序Windows/Linux 默认行为)
--hide-on-close false
```
#### [title]