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: note macOS Sign in with Apple popup limitation in FAQ

Tw9370206937eb4b
diff --git a/docs/faq.md b/docs/faq.md
index 396a67a4..034253af 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -525,6 +525,8 @@ 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. In those cases, use the normal browser, a browser-installed app, or a native desktop client.
+ On macOS specifically, sites that use **Sign in with Apple** in popup mode (e.g. Yelp, Upwork) may end on a blank window after you authenticate. To avoid a WebKit crash, Pake navigates auth URLs in the current window on macOS, which breaks the popup's callback to the original page. Sign in to those sites with a normal browser or a native app.
+
5. **WeChat Web login environment error**
WeChat detects the WebView and writes a flag cookie that blocks subsequent logins. Add `--incognito` when packaging to bypass it, at the cost of requiring a QR scan on every launch:
diff --git a/docs/faq_CN.md b/docs/faq_CN.md
index 921d4a2b..ffdd2239 100644
--- a/docs/faq_CN.md
+++ b/docs/faq_CN.md
@@ -522,6 +522,8 @@ Pake 可以自动转换图标,但提供正确的格式更可靠。
某些认证提供方,尤其是 Google,可能会阻止在嵌入式 WebView 中完成登录。由于 Pake 是把网站包装进桌面 WebView,Google 自家站点或依赖 Google OAuth 的网站,即使启用了 `--new-window` 或 `--multi-window`,也仍然可能无法在应用内完成登录。这属于提供方策略限制,不是打包逻辑错误。遇到这种情况时,建议改用普通浏览器、浏览器安装版站点应用,或官方原生桌面客户端。
+ 在 macOS 上,使用 **Sign in with Apple**(弹窗模式)的站点(例如 Yelp、Upwork)可能在认证后停在白屏。为规避 WebKit 崩溃,Pake 在 macOS 上会把认证 URL 在当前窗口内跳转,这会打断弹窗回调原页面的流程。这类站点请改用普通浏览器或原生 App 登录。
+
5. **微信 Web 版登录环境异常**
微信检测到 WebView 后会写入标记 Cookie,导致后续持续被拦截。打包时加 `--incognito` 可解决,代价是每次启动都需要重新扫码登录: