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
fix: bump file-type to 21.3.4 and raise the Node floor to 20
Tw9369129a8fd237
diff --git a/README.md b/README.mdindex a0ba414b..695a4bbb 100644--- a/README.md+++ b/README.md@@ -202,7 +202,7 @@ Use Pake (npm i -g pake-cli) to package webpages as desktop apps. Read https://u## Development-Requires Rust `>=1.85` and Node `>=22` (recommended LTS; `>=18` also works). For detailed installation guide, see [Tauri documentation](https://v2.tauri.app/start/prerequisites/). If unfamiliar with development environment, use the CLI tool instead.+Requires Rust `>=1.85` and Node `>=22` (recommended LTS; `>=20` also works). For detailed installation guide, see [Tauri documentation](https://v2.tauri.app/start/prerequisites/). If unfamiliar with development environment, use the CLI tool instead.```bash# Install dependenciesdiff --git a/README_CN.md b/README_CN.mdindex 32c1671e..5fdd3d20 100644--- a/README_CN.md+++ b/README_CN.md@@ -203,7 +203,7 @@ pake https://weekly.tw93.fun --name Weekly --icon https://cdn.tw93.fun/pake/week## 定制开发-需要 Rust `>=1.85` 和 Node `>=22`(推荐 LTS,较旧的 `>=18` 也可使用),详细安装指南参考 [Tauri 文档](https://tauri.app/start/prerequisites/)。不熟悉开发环境建议直接使用命令行工具。+需要 Rust `>=1.85` 和 Node `>=22`(推荐 LTS,较旧的 `>=20` 也可使用),详细安装指南参考 [Tauri 文档](https://tauri.app/start/prerequisites/)。不熟悉开发环境建议直接使用命令行工具。```bash# 安装依赖diff --git a/dist/cli.js b/dist/cli.jsindex b52891d8..ecb62837 100644--- a/dist/cli.js+++ b/dist/cli.js@@ -23,7 +23,7 @@ var name = "pake-cli";var version = "3.15.5";var description = "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。";var engines = {- node: ">=18.0.0"+ node: ">=20.0.0"};var packageManager = "[email protected]";var bin = {@@ -78,7 +78,7 @@ var dependencies = {chalk: "^5.6.2",commander: "^14.0.3",execa: "^9.6.1",- "file-type": "^21.3.0",+ "file-type": "^21.3.4","fs-extra": "^11.3.3","icon-gen": "^5.0.0",loglevel: "^1.9.2",diff --git a/docs/advanced-usage.md b/docs/advanced-usage.mdindex fadce458..92b5cc8e 100644--- a/docs/advanced-usage.md+++ b/docs/advanced-usage.md@@ -200,7 +200,7 @@ Understanding Pake's codebase structure will help you navigate and contribute ef### Prerequisites-- Node.js ≥22.0.0 (recommended LTS, older versions ≥18.0.0 may work)+- Node.js ≥22.0.0 (recommended LTS, older versions ≥20.0.0 may work)- Rust ≥1.85.0 (recommended stable)#### Platform-Specific Requirementsdiff --git a/docs/advanced-usage_CN.md b/docs/advanced-usage_CN.mdindex 6b1ab8f0..35d0e51b 100644--- a/docs/advanced-usage_CN.md+++ b/docs/advanced-usage_CN.md@@ -200,7 +200,7 @@ pake https://gmail.com --name "Gmail Work" --identifier com.example.gmail.work### 前置条件-- Node.js ≥22.0.0 (推荐 LTS,较旧版本 ≥18.0.0 可能可用)+- Node.js ≥22.0.0 (推荐 LTS,较旧版本 ≥20.0.0 可能可用)- Rust ≥1.85.0 (推荐稳定版)#### 平台特定要求diff --git a/docs/cli-usage.md b/docs/cli-usage.mdindex 15ef1c84..096eb30c 100644--- a/docs/cli-usage.md+++ b/docs/cli-usage.md@@ -6,7 +6,7 @@ Complete command-line reference and basic usage for Pake CLI.## Installation-Ensure that your Node.js version is 22.0 or higher (e.g., 22.11.0). _Note: Older versions ≥18.0.0 may also work._+Ensure that your Node.js version is 22.0 or higher (e.g., 22.11.0). _Note: Older versions ≥20.0.0 may also work._**Recommended (pnpm):**@@ -34,7 +34,7 @@ source ~/.bashrc**Prerequisites:**-- Node.js ≥18.0.0+- Node.js ≥20.0.0- Rust ≥1.85.0 (installed automatically if missing)- **macOS/Linux**: `curl`, `wget`, `file` and `tar` used for dependency managementdiff --git a/docs/cli-usage_CN.md b/docs/cli-usage_CN.mdindex b0fd4362..c7cfbc8f 100644--- a/docs/cli-usage_CN.md+++ b/docs/cli-usage_CN.md@@ -6,7 +6,7 @@## 安装-请确保您的 Node.js 版本为 22 或更高版本(例如 22.11.0)。_注意:较旧的版本 ≥18.0.0 也可能可以工作。_+请确保您的 Node.js 版本为 22 或更高版本(例如 22.11.0)。_注意:较旧的版本 ≥20.0.0 也可能可以工作。_**推荐方式 (pnpm):**@@ -34,7 +34,7 @@ source ~/.bashrc**前置条件:**-- Node.js ≥18.0.0+- Node.js ≥20.0.0- Rust ≥1.85.0(如缺失将自动安装)- **macOS/Linux**:`curl`、`wget`、`file` 和 `tar`(用于依赖管理)diff --git a/package.json b/package.jsonindex b6dd4fdf..1c9ca34e 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"version": "3.15.5","description": "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。","engines": {- "node": ">=18.0.0"+ "node": ">=20.0.0"},"packageManager": "[email protected]","bin": {@@ -58,7 +58,7 @@"chalk": "^5.6.2","commander": "^14.0.3","execa": "^9.6.1",- "file-type": "^21.3.0",+ "file-type": "^21.3.4","fs-extra": "^11.3.3","icon-gen": "^5.0.0","loglevel": "^1.9.2",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 388f592d..4ee65cd9 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -29,8 +29,8 @@ importers:specifier: ^9.6.1version: 9.6.1file-type:- specifier: ^21.3.0- version: 21.3.0+ specifier: ^21.3.4+ version: 21.3.4fs-extra:specifier: ^11.3.3version: 11.3.3@@ -960,8 +960,8 @@ packages:resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==}engines: {node: '>=18'}- resolution: {integrity: sha512-8kPJMIGz1Yt/aPEwOsrR97ZyZaD1Iqm8PClb1nYFclUCkBi0Ma5IsYNQzvSFS9ib51lWyIw5mIT9rWzI/xjpzA==}+ resolution: {integrity: sha512-Ievi/yy8DS3ygGvT47PjSfdFoX+2isQueoYP1cntFW1JLYAuS4GD7NUPGg4zv2iZfV52uDyk5w5Z0TdpRS6Q1g==}engines: {node: '>=20'}@@ -2201,7 +2201,7 @@ snapshots:dependencies:is-unicode-supported: 2.1.0dependencies:'@tokenizer/inflate': 0.4.1strtok3: 10.3.4