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: use GitHub, not Gmail, for the multiple-apps example
youxi798ac18c259fc19
diff --git a/docs/advanced-usage.md b/docs/advanced-usage.mdindex 3c0201c2..a2c329ff 100644--- a/docs/advanced-usage.md+++ b/docs/advanced-usage.md@@ -130,17 +130,17 @@ macOS prompts the user for permission on first use, so add these flags only for## Multiple Apps For The Same Site-If you need separate apps for the same site, for example two Gmail accounts with different login state, build them with different app names:+If you need separate apps for the same site, for example two GitHub accounts with different login state, build them with different app names:```bash-pake https://mail.google.com --name "Gmail Work"-pake https://mail.google.com --name "Gmail Personal"+pake https://github.com --name "GitHub Work"+pake https://github.com --name "GitHub Personal"```Pake generates a different app identifier for each `URL + name` pair, so these apps install as separate desktop apps instead of resolving to the same app. To pin the bundle identifier explicitly, use the hidden `--identifier` option:```bash-pake https://mail.google.com --name "Gmail Work" --identifier com.example.gmail.work+pake https://github.com --name "GitHub Work" --identifier com.example.github.work````--multi-instance` is different. It only allows multiple processes for the same packaged app, it does not create separate app identities.diff --git a/docs/advanced-usage_CN.md b/docs/advanced-usage_CN.mdindex fe1c54d2..2293b812 100644--- a/docs/advanced-usage_CN.md+++ b/docs/advanced-usage_CN.md@@ -130,17 +130,17 @@ macOS 会在首次使用时向用户弹出权限确认对话框,所以只给## 同一站点生成多个独立应用-如果你需要为同一个站点生成多个彼此独立的应用,例如两个不同登录态的 Gmail,可以直接使用不同的应用名称进行构建:+如果你需要为同一个站点生成多个彼此独立的应用,例如两个不同登录态的 GitHub,可以直接使用不同的应用名称进行构建:```bash-pake https://mail.google.com --name "Gmail Work"-pake https://mail.google.com --name "Gmail Personal"+pake https://github.com --name "GitHub Work"+pake https://github.com --name "GitHub Personal"```Pake 会基于 `URL + name` 生成不同的应用标识,因此这两个应用会被当作两个独立桌面应用安装,而不是落到同一个应用上,需要固定 bundle identifier 的高级场景,还可以用隐藏参数 `--identifier`:```bash-pake https://mail.google.com --name "Gmail Work" --identifier com.example.gmail.work+pake https://github.com --name "GitHub Work" --identifier com.example.github.work````--multi-instance` 和这个能力不同,它只是允许同一个已打包应用启动多个进程,并不会创建多个独立应用身份。diff --git a/docs/cli-usage.md b/docs/cli-usage.mdindex 4913913d..dd738701 100644--- a/docs/cli-usage.md+++ b/docs/cli-usage.md@@ -117,7 +117,7 @@ Specify the application name. If not provided, you will be prompted to enter it.Set the bundle identifier explicitly. By default Pake derives `com.pake.a<hash>` from the URL and `--name`, so two apps wrapping the same URL under different names install separately. The value must start with a letter, contain only letters, digits, hyphens and dots, and end with a letter or digit.```shell---identifier com.example.gmail.work+--identifier com.example.github.work```#### [icon]diff --git a/docs/cli-usage_CN.md b/docs/cli-usage_CN.mdindex faeb1798..4d70ea19 100644--- a/docs/cli-usage_CN.md+++ b/docs/cli-usage_CN.md@@ -117,7 +117,7 @@ pake ./dist --name MyTool手动指定 bundle identifier,不传时 Pake 会根据 URL 和 `--name` 生成 `com.pake.a<hash>`,所以同一个网址用不同名字打包会装成两个应用。取值必须以字母开头,只含字母、数字、连字符和点,并以字母或数字结尾。```shell---identifier com.example.gmail.work+--identifier com.example.github.work```#### [icon]