Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
docs: say about two weeks for WeChat's restriction, drop a WeChat example
Tw93afb688ef46a7
diff --git a/.claude/rules/tauri-runtime.md b/.claude/rules/tauri-runtime.mdindex 6fad6d53..b5d12bd5 100644--- a/.claude/rules/tauri-runtime.md+++ b/.claude/rules/tauri-runtime.md@@ -15,7 +15,7 @@ paths:- `transparent_title_bar` is a runtime-only macOS window field (no CLI flag; the paid apps set it): Tauri's `Transparent` title bar keeps the page below the bar, and `src-tauri/src/inject/title_bar.js` paints the window background with the page's top-edge color through `set_title_bar_color`. `hide_title_bar` keeps precedence and its overlay behavior. The color is the majority of three top-edge samples, resolved through a canvas so `oklch()`/`color()` values work; do not skip sampling for `document.hidden`, or windows revealed after load stay uncolored. Cover it with `tests/unit/title-bar-color.test.js`; when checking a real bundle, window captures carry the display profile, so convert the sRGB page color before comparing pixels.- `site_styles` is a runtime-only window field (no CLI flag; default true): the paid apps write false when the app carries a browser extension that restyles its site (Minimal Theme for Twitter on X), and `style.js` then leaves out that site's `content` rules, keeping the global and `immersive` ones. On X the runtime's 700 px column, `!important` under `#react-root`, overrode the extension's own width setting. `page_config` in `window.rs` forces it back to true wherever the app's extensions do not run (no `pake-runtime/extensions`, macOS before 15.4, Linux), so a site never loses both. Covered by `site_styles_stay_on_unless_the_builder_turns_them_off`, `site_styles_turn_off_only_where_extensions_run` and `tests/unit/site-styles.test.js`.- Window/runtime options with platform-sensitive behavior include `--incognito`, `--new-window`, `--min-width`, `--min-height`, `--maximize`, multi-window behavior, notification click handling, and Linux/Wayland WebKit compositing defaults.-- `--incognito` intentionally trades persistence for clean private sessions; be careful around login, cookies, local storage, and WeChat-style WebView detection.+- `--incognito` intentionally trades persistence for clean private sessions; be careful around login, cookies, local storage, and sites that detect the WebView.- Web apps restore the main window's last URL by default. `--no-restore-last-url` / config `restoreLastUrl: false` disables both reading and saving that URL without changing cookie or local-storage persistence. Legacy native configs missing `restore_last_url` default to true. Startup and close/exit persistence share `WindowConfig::remembers_last_url`, which excludes incognito sessions and local pages. Verify with `cargo test --lib` and `node tests/integration/last-url.mjs` (real macOS WebView).- Windows `--password-autosave` is opt-in and disabled in private windows. Every window creation must apply both true and false through `ICoreWebView2Settings4::SetIsPasswordAutosaveEnabled`; do not treat the false case as a no-op. Legacy configs default to false. This controls new save/update prompts, not existing password autofill or general autofill, and does not share an Edge or Chrome profile. Keep the native bool, CLI/config surface, and both language docs consistent; cover all four requested/private combinations and the missing-field default in the `config.rs` Rust tests, and keep `tests/unit/password-autosave.test.ts` asserting that both values reach the native call.- `--new-window` and `--multi-window` do not bypass every provider policy. Google OAuth and similar embedded-WebView restrictions may still require a normal browser or native client.diff --git a/docs/faq.md b/docs/faq.mdindex c0c77e74..42c803c4 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -462,7 +462,7 @@ This is usually due to web compatibility issues. Try:5. **WeChat**- WeChat does not allow sign-in from unofficial clients and may restrict the account, for example blocking QR sign-in on new devices for weeks. Pake no longer ships a WeChat app; use the official WeChat desktop client rather than packaging wx.qq.com.+ WeChat does not allow sign-in from unofficial clients and may restrict the account, for example blocking QR sign-in on new devices for about two weeks. Pake no longer ships a WeChat app; use the official WeChat desktop client rather than packaging wx.qq.com.6. **Cloudflare or bot-verification loops forever**diff --git a/docs/faq_CN.md b/docs/faq_CN.mdindex 5c24a40f..0f00bbec 100644--- a/docs/faq_CN.md+++ b/docs/faq_CN.md@@ -460,7 +460,7 @@ Pake 可以自动转换普通图片,但提供正确的格式更可靠。Icon C5. **微信**- 微信不允许用非官方客户端登录,用了可能被限制账号,比如几周内不能扫码登录新设备,所以 Pake 不再提供微信应用,也不要自己打包 wx.qq.com,用微信官方的电脑版就好。+ 微信不允许用非官方客户端登录,用了可能被限制账号,比如两周左右不能扫码登录新设备,所以 Pake 不再提供微信应用,也不要自己打包 wx.qq.com,用微信官方的电脑版就好。6. **Cloudflare 或人机验证一直循环**