Support force internal navigation parameter

This commit is contained in:
Tw93
2025-11-11 15:40:10 +08:00
parent aa65c7cd19
commit eb829ca85c
9 changed files with 56 additions and 3 deletions

8
docs/cli-usage.md vendored
View File

@@ -204,6 +204,14 @@ Sets whether to disable web shortcuts in the original Pake container, defaults t
--disabled-web-shortcuts
```
#### [force-internal-navigation]
Keeps every clicked link (even pointing to other domains) inside the Pake window instead of letting the OS open an external browser or helper. Default is `false`.
```shell
--force-internal-navigation
```
#### [multi-arch]
Package the application to support both Intel and M1 chips, exclusively for macOS. Default is `false`.

View File

@@ -202,6 +202,14 @@ pake https://github.com --name GitHub
--disabled-web-shortcuts
```
#### [force-internal-navigation]
启用后所有点击的链接(即使是跨域)都会在 Pake 窗口内打开,不会再调用外部浏览器或辅助程序。默认 `false`
```shell
--force-internal-navigation
```
#### [multi-arch]
设置打包结果同时支持 Intel 和 M1 芯片,仅适用于 macOS默认为 `false`