📝 更新文档
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
## Features
|
||||
|
||||
- 🎐 Nearly 40 times smaller than an Electron package (less than 3M!)
|
||||
- 🎐 Nearly 40 times smaller than an Electron package (less than 5M!)
|
||||
- 🚀 With Rust Tauri, Pake is much more lightweight and faster than JS-based frameworks.
|
||||
- 📦 Battery-included package — shortcut pass-through, immersive windows, and minimalist customization.
|
||||
- 👻 Pake is just a simple tool — replace the old bundle approach with Rust (though PWA is good enough).
|
||||
@@ -135,7 +135,7 @@ In addition, double-click the title bar to switch to full-screen mode. For Mac u
|
||||
|
||||
## Before starting
|
||||
|
||||
1. **For beginners**: Play with Popular Packages to find out Pake's capabilities, or try to pack your application with [GitHub Actions](https://github.com/tw93/Pake/wiki/GitHub-Actions-Online-Compilation-Multi-system-Version). Don't hesitate to reach for assistance at [Discussion](https://github.com/tw93/Pake/discussions)!
|
||||
1. **For beginners**: Play with Popular Packages to find out Pake's capabilities, or try to pack your application with [GitHub Actions](https://github.com/tw93/Pake/wiki/Online-Compilation-(used-by-ordinary-users)). Don't hesitate to reach for assistance at [Discussion](https://github.com/tw93/Pake/discussions)!
|
||||
2. **For developers**: “Command-Line Packaging” supports macOS fully. For Windows/Linux users, it requires some tinkering. [Configure your environment](https://tauri.app/v1/guides/getting-started/prerequisites) before getting started.
|
||||
3. **For hackers**: For people who are good at both front-end development and Rust, how about customizing your apps' function more with the following [Customized Development](#development)?
|
||||
|
||||
@@ -156,7 +156,7 @@ pake url [OPTIONS]...
|
||||
pake https://weekly.tw93.fun --name Weekly --transparent
|
||||
```
|
||||
|
||||
If you are new to the command line, you can compile packages online with _GitHub Actions_. See the [Tutorial](https://github.com/tw93/Pake/wiki/GitHub-Actions-Online-Compilation-Multi-system-Version) for more information.
|
||||
If you are new to the command line, you can compile packages online with _GitHub Actions_. See the [Tutorial](https://github.com/tw93/Pake/wiki/Online-Compilation-(used-by-ordinary-users)) for more information.
|
||||
|
||||
## Development
|
||||
|
||||
@@ -168,7 +168,7 @@ If you are unfamiliar with these, it is better to try out the above tool to pack
|
||||
# Install Dependencies
|
||||
npm i
|
||||
|
||||
# Local development
|
||||
# Local development [Right-click to open debug mode.]
|
||||
npm run dev
|
||||
|
||||
# Pack application
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
## 特征
|
||||
|
||||
- 🎐 相比传统的 Electron 套壳打包,要小将近 40 倍,不到 3M。
|
||||
- 🎐 相比传统的 Electron 套壳打包,要小将近 40 倍,不到 5M。
|
||||
- 🚀 Pake 的底层使用的 Rust Tauri 框架,性能体验较 JS 框架要轻快不少,内存小很多。
|
||||
- 📦 不是单纯打包,实现了快捷键的透传、沉浸式的窗口、拖动、样式改写、去广告、产品的极简风格定制。
|
||||
- 👻 只是一个很简单的小玩具,用 Rust 替代之前套壳网页打包的老思路,其实 PWA 也很好。
|
||||
@@ -135,7 +135,7 @@
|
||||
|
||||
## 开始之前
|
||||
|
||||
1. **小白用户**:使用 「常用包下载」 方式来把玩 Pake 的能力,可去 [讨论群](https://github.com/tw93/Pake/discussions) 寻求帮助,也可试试 [Action](https://github.com/tw93/Pake/wiki/GitHub-Actions-%E5%9C%A8%E7%BA%BF%E7%BC%96%E8%AF%91%E5%A4%9A%E7%B3%BB%E7%BB%9F%E7%89%88%E6%9C%AC) 方式。
|
||||
1. **小白用户**:使用 「常用包下载」 方式来把玩 Pake 的能力,可去 [讨论群](https://github.com/tw93/Pake/discussions) 寻求帮助,也可试试 [Action](https://github.com/tw93/Pake/wiki/%E5%9C%A8%E7%BA%BF%E7%BC%96%E8%AF%91%EF%BC%88%E6%99%AE%E9%80%9A%E7%94%A8%E6%88%B7%E4%BD%BF%E7%94%A8%EF%BC%89) 方式。
|
||||
2. **开发用户**:使用 「命令行一键打包」,对 Mac 比较友好,Windows / Linux 需折腾下 [环境配置](https://tauri.app/v1/guides/getting-started/prerequisites)。
|
||||
3. **折腾用户**:假如你前端和 Rust 都会,那可试试下面的 「[定制开发](#定制开发)」,可深度二次开发定制你的功能。
|
||||
|
||||
@@ -159,7 +159,7 @@ pake url [OPTIONS]...
|
||||
pake https://weekly.tw93.fun --name Weekly --transparent
|
||||
```
|
||||
|
||||
假如你不太会使用命令行,或许使用 **GitHub Actions 在线编译多系统版本** 是一个不错的选择,可查看 [文档](https://github.com/tw93/Pake/wiki/GitHub-Actions-%E5%9C%A8%E7%BA%BF%E7%BC%96%E8%AF%91%E5%A4%9A%E7%B3%BB%E7%BB%9F%E7%89%88%E6%9C%AC)。
|
||||
假如你不太会使用命令行,或许使用 **GitHub Actions 在线编译多系统版本** 是一个不错的选择,可查看 [文档](https://github.com/tw93/Pake/wiki/%E5%9C%A8%E7%BA%BF%E7%BC%96%E8%AF%91%EF%BC%88%E6%99%AE%E9%80%9A%E7%94%A8%E6%88%B7%E4%BD%BF%E7%94%A8%EF%BC%89)。
|
||||
|
||||
## 定制开发
|
||||
|
||||
@@ -169,7 +169,7 @@ pake https://weekly.tw93.fun --name Weekly --transparent
|
||||
# 安装依赖
|
||||
npm i
|
||||
|
||||
# 本地开发
|
||||
# 本地开发[右键可打开调试模式]
|
||||
npm run dev
|
||||
|
||||
# 打包应用
|
||||
|
||||
Reference in New Issue
Block a user