📝 update docs

This commit is contained in:
Tw93
2023-01-16 20:44:14 +08:00
parent 512a1822da
commit da6c23bf91
2 changed files with 8 additions and 11 deletions

8
bin/README.md vendored
View File

@@ -1,16 +1,14 @@
## 安装
请确保 Node 版本>=16 如 16.8,不要使用 sudo 进行安装
请确保 Node 版本>=16 如 16.8,不要使用 sudo 进行安装,假如 npm 报没有权限可以参考 [How to fix npm throwing error without sudo](https://stackoverflow.com/questions/16151018/how-to-fix-npm-throwing-error-without-sudo)。
```bash
npm install -g pake-cli
```
假如 npm 报没有权限可以参考 [How to fix npm throwing error without sudo](https://stackoverflow.com/questions/16151018/how-to-fix-npm-throwing-error-without-sudo)。
## Windows/Linux 注意点
## Windows 和 Linux 用户注意点
- 查看 tauri 提供的[依赖指南](https://tauri.app/v1/guides/getting-started/prerequisites)**十分重要**
- **十分重要** 查看 Tauri 提供的[依赖指南](https://tauri.app/v1/guides/getting-started/prerequisites)
- 对于 windows至少安装了`Win10 SDK(10.0.19041.0)``Visual Studio build tool 2022>=17.2`),还需要额外安装:
1. Microsoft Visual C++ 2015-2022 Redistributable (x64)

11
bin/README_EN.md vendored
View File

@@ -1,17 +1,16 @@
## Install
Please ensure that Node version>=16, such as 16.8, do not use sudo for installation:
Please ensure that Node version>=16, such as 16.8, do not use sudo for installation.
If the npm report has no permission, you can refer to [How to fix npm throwing error without sudo](https://stackoverflow.com/questions/16151018/how-to-fix-npm-throwing-error-without-sudo).
```bash
npm install -g pake-cli
```
If the npm report has no permission, you can refer to [How to fix npm throwing error without sudo](https://stackoverflow.com/questions/16151018/how-to-fix-npm-throwing-error-without-sudo).
## Windows and Linux considerations
## Windows and Linux user considerations
- Check out the dependency guide provided by tauri [link](https://tauri.app/v1/guides/getting-started/prerequisites)(**very important**).
- For windows(at least installed `Win10 SDK (10.0.19041.0)` and `Visual Studio build tool 2022(>=17.2)`),additional installation is required:
- **Very important**, check out the dependency guide provided by Tauri [link](https://tauri.app/v1/guides/getting-started/prerequisites).
- For windows (at least installed `Win10 SDK (10.0.19041.0)` and `Visual Studio build tool 2022(>=17.2)`), additional installation is required:
1. Microsoft Visual C++ 2015-2022 Redistributable (x64)
2. Microsoft Visual C++ 2015-2022 Redistributable (x86)