更改说明文档

This commit is contained in:
Tlntin
2022-12-07 00:07:42 +08:00
parent 2e9ab0f7ec
commit befb5a49b5
2 changed files with 9 additions and 5 deletions

8
bin/README.md vendored
View File

@@ -4,7 +4,7 @@
npm install -g pake-cli
```
如果安装失败提示没有权限,请使用 `sudo` 运行
如果安装失败提示没有权限,请参考该贴解决:[链接](https://gist.github.com/Giancarlos/d087f8a9e6516716da98ad0c0f5a8f58),注意:**尽量别用sudo权限**
## 用法
@@ -16,7 +16,7 @@ pake url [options]
Note: 打包需要用 `Rust` 环境,如果没有 `Rust`,会提示确认安装。如遇安装失败或超时,可[自行安装](https://www.rust-lang.org/tools/install)。
Note: 目前支持 MacOS 和 WIndows,后续会支持 Linux。
Note: 目前支持 MacOS(dmg) 和 Windows(msi), Linux(deb)
### url
@@ -28,7 +28,7 @@ url 为你需要打包的网页链接 🔗,必须提供。
#### [name]
应用名称,如输入时未指定,会提示你输入。
应用名称,如输入时未指定,会提示你输入,尽量使用英语
```shell
--name <value>
@@ -39,6 +39,8 @@ url 为你需要打包的网页链接 🔗,必须提供。
应用 icon支持本地/远程文件,默认为 Pake 自带图标。
- MacOS 下必须为 `.icns`
- Windows 下必须为 `.ico`
- Linux 下必须为 `.png`
```shell
--icon <path>

6
bin/README_EN.md vendored
View File

@@ -4,7 +4,7 @@
npm install -g pake-cli
```
If the installation fails and you are prompted that you do not have permission, please use `sudo` to run.
If the installation fails and you are prompted that you do not have permission, please see this [website](https://gist.github.com/Giancarlos/d087f8a9e6516716da98ad0c0f5a8f58) , attention! **try not to use sudo permissions**.
## Usage
@@ -28,7 +28,7 @@ Some specific options are provided. When packaging, corresponding parameters can
#### [name]
The application name, if not specified when entering, will prompt you to enter.
The application name, if not specified when entering, will prompt you to enter, input must be English.
```shell
--name <value>
@@ -39,6 +39,8 @@ The application name, if not specified when entering, will prompt you to enter.
应用 icon支持本地/远程文件,默认为 Pake 自带图标。
- MacOS must be `.icns`
- Windows must be `.ico`
- Linux must be `.png`
```shell
--icon <path>