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: correct Linux file names, popups, memory and the WebKitGTK minimum
Tw93feb880839e83
diff --git a/README.md b/README.mdindex a9148df9..a3c9da92 100644--- a/README.md+++ b/README.md@@ -15,7 +15,7 @@## Features- **Lightweight**: Installers are typically under 10 MB, nearly 20 times smaller than Electron packages, a lighter alternative to Nativefier and other Electron wrappers-- **Fast**: Built with Rust Tauri on the system WebView instead of a bundled Chromium, so apps use less memory than Electron ones+- **Fast**: Built with Rust Tauri on the system WebView instead of a bundled Chromium, so each app carries no browser engine of its own- **Easy to use**: One-command packaging via CLI or online building, no complex configuration needed- **Feature-rich**: Supports shortcuts, immersive windows, drag & drop, style customization, ad removaldiff --git a/README_CN.md b/README_CN.mdindex 2f2e56b0..579d5ecb 100644--- a/README_CN.md+++ b/README_CN.md@@ -15,7 +15,7 @@## 特性- **体积小巧**:安装包通常小于 10 MB,比 Electron 应用小近 20 倍,是 Nativefier 这类 Electron 套壳工具更轻的替代-- **性能优异**:基于 Rust Tauri,用系统自带的 WebView 而不是打包一份 Chromium,内存占用比 Electron 应用更少+- **性能优异**:基于 Rust Tauri,用系统自带的 WebView 而不是打包一份 Chromium,应用里不用再带一份浏览器引擎- **使用简单**:命令行一键打包,或在线构建,无需复杂配置- **功能丰富**:支持快捷键透传、沉浸式窗口、拖拽、样式定制、去广告diff --git a/docs/cli-usage.md b/docs/cli-usage.mdindex 85002779..625be1f0 100644--- a/docs/cli-usage.md+++ b/docs/cli-usage.md@@ -567,7 +567,7 @@ This is different from `--multi-instance`:When enabled, relaunching an already running app opens a new window instead of only focusing the existing one.-On macOS, additional windows opened with Cmd+N join the app's native tab group. Web-auth and `window.open` popups remain separate.+On macOS, additional windows opened with Cmd+N join the app's native tab group. `window.open` popups stay outside it. On macOS and Linux, sign-in popups other than Sign in with Apple open in the current window.This can improve popup-based authentication flows, but it cannot bypass provider policy. Some providers, especially Google, may still reject sign-in inside embedded webviews.diff --git a/docs/cli-usage_CN.md b/docs/cli-usage_CN.mdindex 1ff1cd85..2ea625f0 100644--- a/docs/cli-usage_CN.md+++ b/docs/cli-usage_CN.md@@ -561,7 +561,7 @@ pake https://chat.example.com --name ChatApp --multi-instance启用后,如果应用已在运行,再次启动会新开一个窗口,而不是仅聚焦已有窗口。-在 macOS 上,通过 Cmd+N 打开的附加窗口会自动加入应用的原生标签页组;网页认证和 `window.open` 弹窗仍保持独立。+在 macOS 上,通过 Cmd+N 打开的附加窗口会自动加入应用的原生标签页组,`window.open` 弹窗不进这个标签页组。在 macOS 和 Linux 上,除 Sign in with Apple 之外的登录弹窗会在当前窗口打开。此选项可优化弹窗授权体验,但无法绕过提供方自身的策略限制(部分提供方如 Google 仍可能拒绝在嵌入式 WebView 中登录)。diff --git a/docs/faq.md b/docs/faq.mdindex b3045799..2210749a 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -199,7 +199,7 @@ docker run --rm --privileged \https://example.com --name MyApp --targets appimage```-> **Tip:** The generated AppImage may be owned by root. Run `sudo chown $(id -nu):$(id -ng) ./output/MyApp.AppImage` afterwards.+> **Tip:** The generated AppImage may be owned by root. Run `sudo chown $(id -nu):$(id -ng) ./output/myapp.AppImage` afterwards.**Why This Happens:**@@ -229,7 +229,7 @@ This is an upstream Tauri bundler limitation ([tauri-apps/tauri#5292](https://gipake https://example.com --name MyApp --targets zst```-This produces a pacman package (`*.pkg.tar.zst`) that installs to system paths, so WebKit resolves its helper processes natively and there is no relocation problem. Install it with `sudo pacman -U MyApp-*.pkg.tar.zst`.+This produces a pacman package (`*.pkg.tar.zst`) that installs to system paths, so WebKit resolves its helper processes natively and there is no relocation problem. Install it with `sudo pacman -U myapp-*.pkg.tar.zst`.**Solution 2: Build the AppImage in Docker (Debian-based)**@@ -248,7 +248,7 @@ docker run --rm --privileged \Extract it, add the missing symlink, then launch the inner `AppRun`:```bash-./MyApp.AppImage --appimage-extract+./myapp.AppImage --appimage-extractcd squashfs-rootmkdir -p lib && ln -s ../usr/lib/webkit2gtk-4.1 lib/webkit2gtk-4.1./AppRun@@ -261,13 +261,13 @@ On some pure Wayland compositors, especially niri, the AppImage can open but pagPake automatically avoids the conservative WebKit rendering flags in niri sessions. To force the same native WebKit path manually, launch the app with:```bash-PAKE_LINUX_WEBKIT_SAFE_MODE=0 ./MyApp.AppImage+PAKE_LINUX_WEBKIT_SAFE_MODE=0 ./myapp.AppImage```If your system shows a blank window instead, re-enable the conservative WebKit workaround:```bash-PAKE_LINUX_WEBKIT_SAFE_MODE=1 ./MyApp.AppImage+PAKE_LINUX_WEBKIT_SAFE_MODE=1 ./myapp.AppImage```**Why This Happens:**diff --git a/docs/faq_CN.md b/docs/faq_CN.mdindex c0fba488..8b5f4afd 100644--- a/docs/faq_CN.md+++ b/docs/faq_CN.md@@ -199,7 +199,7 @@ docker run --rm --privileged \https://example.com --name MyApp --targets appimage```-> **提示:** 生成的 AppImage 可能属于 root,需要执行 `sudo chown $(id -nu):$(id -ng) ./output/MyApp.AppImage` 调整所有权。+> **提示:** 生成的 AppImage 可能属于 root,需要执行 `sudo chown $(id -nu):$(id -ng) ./output/myapp.AppImage` 调整所有权。**原因:**@@ -229,7 +229,7 @@ AppImage 构建成功,但启动时立即崩溃:pake https://example.com --name MyApp --targets zst```-这会生成 pacman 包(`*.pkg.tar.zst`),安装到系统路径,WebKit 按系统原生路径解析辅助进程,不存在重定位问题。用 `sudo pacman -U MyApp-*.pkg.tar.zst` 安装。+这会生成 pacman 包(`*.pkg.tar.zst`),安装到系统路径,WebKit 按系统原生路径解析辅助进程,不存在重定位问题。用 `sudo pacman -U myapp-*.pkg.tar.zst` 安装。**解决方案 2:在 Docker(基于 Debian)中构建 AppImage**@@ -248,7 +248,7 @@ docker run --rm --privileged \解压后补上缺失的软链接,再运行内部的 `AppRun`:```bash-./MyApp.AppImage --appimage-extract+./myapp.AppImage --appimage-extractcd squashfs-rootmkdir -p lib && ln -s ../usr/lib/webkit2gtk-4.1 lib/webkit2gtk-4.1./AppRun@@ -261,13 +261,13 @@ mkdir -p lib && ln -s ../usr/lib/webkit2gtk-4.1 lib/webkit2gtk-4.1Pake 会在 niri 会话中自动避开保守的 WebKit 渲染参数。也可以手动强制使用原生 WebKit 渲染路径:```bash-PAKE_LINUX_WEBKIT_SAFE_MODE=0 ./MyApp.AppImage+PAKE_LINUX_WEBKIT_SAFE_MODE=0 ./myapp.AppImage```如果你的系统反而出现白屏,可以重新启用保守 WebKit workaround:```bash-PAKE_LINUX_WEBKIT_SAFE_MODE=1 ./MyApp.AppImage+PAKE_LINUX_WEBKIT_SAFE_MODE=1 ./myapp.AppImage```**原因:**diff --git a/docs/getting-started.md b/docs/getting-started.mdindex ae90d487..3e2e6c1d 100644--- a/docs/getting-started.md+++ b/docs/getting-started.md@@ -21,7 +21,7 @@ If Rust is missing, Pake asks whether to install it on the first build, so you c- **macOS**: Xcode Command Line Tools, installed with `xcode-select --install`.- **Windows**: Visual Studio Build Tools with the C++ workload. Follow the [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) if you have not set them up before.-- **Linux**: the WebKitGTK development packages listed in [Advanced Usage](advanced-usage.md#prerequisites).+- **Linux**: the WebKitGTK 2.40 or later development packages listed in [Advanced Usage](advanced-usage.md#prerequisites).## Install the CLIdiff --git a/docs/getting-started_CN.md b/docs/getting-started_CN.mdindex 1b8b56c4..4a526491 100644--- a/docs/getting-started_CN.md+++ b/docs/getting-started_CN.md@@ -21,7 +21,7 @@ rustc --version- **macOS**:Xcode 命令行工具,用 `xcode-select --install` 安装。- **Windows**:带 C++ 工作负载的 Visual Studio Build Tools,之前没配过的话照着 [Tauri 前置条件](https://v2.tauri.app/start/prerequisites/)装一遍。-- **Linux**:[进阶用法](advanced-usage_CN.md#前置条件)里列出的 WebKitGTK 开发包。+- **Linux**:[进阶用法](advanced-usage_CN.md#前置条件)里列出的 WebKitGTK 开发包,版本要 2.40 或更高。## 安装命令行工具