Merge branch 'dev'

This commit is contained in:
Tw93
2025-10-16 12:45:27 +08:00
31 changed files with 1672 additions and 554 deletions

16
docs/cli-usage_CN.md vendored
View File

@@ -279,7 +279,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]
@@ -339,6 +344,17 @@ pake https://github.com --name GitHub --keep-binary
**输出结果**同时创建安装包和独立可执行文件Unix 系统为 `AppName-binary`Windows 为 `AppName.exe`)。
#### [multi-instance]
允许打包后的应用同时运行多个实例。默认为 `false`,此时再次启动只会聚焦已有窗口。启用该选项后,可以同时打开同一个应用的多个窗口。
```shell
--multi-instance
# 示例:允许聊天应用同时开多个窗口
pake https://chat.example.com --name ChatApp --multi-instance
```
#### [installer-language]
设置 Windows 安装包语言。支持 `zh-CN`、`ja-JP`,更多在 [Tauri 文档](https://tauri.app/distribute/windows-installer/#internationalization)。默认为 `en-US`。