Support force internal navigation parameter
This commit is contained in:
8
docs/cli-usage.md
vendored
8
docs/cli-usage.md
vendored
@@ -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`.
|
||||
|
||||
8
docs/cli-usage_CN.md
vendored
8
docs/cli-usage_CN.md
vendored
@@ -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`。
|
||||
|
||||
Reference in New Issue
Block a user