Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

docs: correct sign-in popup platforms and shortcut key syntax

youxi798d68a5c1bfa3c
diff --git a/docs/cli-usage.md b/docs/cli-usage.md
index dd738701..2e94632a 100644
--- a/docs/cli-usage.md
+++ b/docs/cli-usage.md
@@ -218,7 +218,7 @@ Determine whether the application launches with a maximized window. Default is `
#### [activation-shortcut]
-Set the activation shortcut for the application. Default is empty, so it does not take effect. You can customize the activation shortcut with the following commands, e.g. `CmdOrControl+Shift+P`. Usage can refer to [available-modifiers](https://www.electronjs.org/docs/latest/api/accelerator#available-modifiers).
+Set the activation shortcut for the application. Default is empty, so it does not take effect. Write it as modifiers and one key joined by `+`, e.g. `CmdOrControl+Shift+P`. Modifiers are `CmdOrControl` (Cmd on macOS, Ctrl elsewhere), `Cmd` or `Super`, `Ctrl`, `Alt` or `Option`, and `Shift`; the key is a letter, a digit, `F1` to `F24`, or a name such as `Space`, `Enter`, `Escape` or `Up`.
```shell
--activation-shortcut <string>
diff --git a/docs/cli-usage_CN.md b/docs/cli-usage_CN.md
index 4d70ea19..7b3704fc 100644
--- a/docs/cli-usage_CN.md
+++ b/docs/cli-usage_CN.md
@@ -218,7 +218,7 @@ pake https://github.com --name GitHub
#### [activation-shortcut]
-设置应用程序的全局激活快捷键,默认为空,可自定义快捷键,如 `CmdOrControl+Shift+P`,格式参考 [available-modifiers](https://www.electronjs.org/docs/latest/api/accelerator#available-modifiers)。
+设置应用程序的全局激活快捷键,默认为空,格式是修饰键加一个按键,用 `+` 连接,如 `CmdOrControl+Shift+P`。修饰键可用 `CmdOrControl`(macOS 上是 Cmd,其他平台是 Ctrl)、`Cmd` 或 `Super`、`Ctrl`、`Alt` 或 `Option`、`Shift`,按键可以是字母、数字、`F1` 到 `F24`,或 `Space`、`Enter`、`Escape`、`Up` 这类按键名。
```shell
--activation-shortcut <string>
diff --git a/docs/faq.md b/docs/faq.md
index 2821e771..b3045799 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -455,7 +455,7 @@ This is usually due to web compatibility issues. Try:
Some authentication providers, especially Google, may block sign-in inside embedded webviews. Because Pake packages sites into a desktop webview, Google properties or sites that rely on Google OAuth may still fail to sign in even when `--new-window` or `--multi-window` is enabled. This is provider policy, not a packaging bug, so use the normal browser, a browser-installed app, or a native desktop client for those sites.
- On macOS, Pake keeps **Sign in with Apple** popup flows (e.g. Yelp, Upwork) on the native popup path so Apple's callback can return to the opener page. Other auth popups may still be navigated in the current window to avoid WebKit crashes.
+ Pake keeps **Sign in with Apple** popup flows (e.g. Yelp, Upwork) on the native popup path so Apple's callback can return to the opener page. On macOS and Linux, other sign-in popups open in the current window instead, because the WebKit webview there can crash on them or drop them silently; on Windows they stay popups.
Passkeys and Touch ID sign-in are not available in Pake apps on macOS, because the system only offers them to browsers and to apps tied to the site's domain. Sign in with a password and a two-factor code instead.
diff --git a/docs/faq_CN.md b/docs/faq_CN.md
index 9e45832d..945d674b 100644
--- a/docs/faq_CN.md
+++ b/docs/faq_CN.md
@@ -453,7 +453,7 @@ Pake 可以自动转换图标,但提供正确的格式更可靠。
某些认证提供方,尤其是 Google,可能会阻止在嵌入式 WebView 中完成登录。由于 Pake 是把网站包装进桌面 WebView,Google 自家站点或依赖 Google OAuth 的网站,即使启用了 `--new-window` 或 `--multi-window`,也仍然可能无法在应用内完成登录。这属于提供方策略限制,不是打包逻辑错误,这类站点改用普通浏览器、浏览器安装版站点应用或官方原生桌面客户端。
- 在 macOS 上,Pake 会让 **Sign in with Apple**(弹窗模式,例如 Yelp、Upwork)继续走原生弹窗路径,确保 Apple 的回调可以返回原页面。其他认证弹窗仍可能在当前窗口内跳转,以规避 WebKit 崩溃。
+ Pake 会让 **Sign in with Apple**(弹窗模式,例如 Yelp、Upwork)继续走原生弹窗路径,确保 Apple 的回调可以返回原页面。在 macOS 和 Linux 上,其他登录弹窗会改在当前窗口内跳转,因为这两个平台的 WebKit 内核可能因弹窗崩溃或悄悄丢掉弹窗,Windows 上仍保持弹窗。
macOS 上的 Pake 应用用不了通行密钥和指纹登录,系统只把这项能力开放给浏览器和与网站域名绑定的应用,登录时改用密码加两步验证码。