🐛 格式化一下
This commit is contained in:
20
bin/README.md
vendored
20
bin/README.md
vendored
@@ -9,15 +9,19 @@ npm install -g pake-cli
|
|||||||
此外,请确保你使用的是正确的 Node.js 版本 `>=16 如 16.18.1`,如果你在使用 [nvm](https://github.com/nvm-sh/nvm) 进行 Node.js 版本管理,可以尝试在项目的目录下运行 `nvm use`,就会拿到正确的版本;其他一众 Node.js 版本工具,比如 [fnm](https://github.com/Schniz/fnm)、[tj/n](https://github.com/tj/n) 应该也有类似的功能。
|
此外,请确保你使用的是正确的 Node.js 版本 `>=16 如 16.18.1`,如果你在使用 [nvm](https://github.com/nvm-sh/nvm) 进行 Node.js 版本管理,可以尝试在项目的目录下运行 `nvm use`,就会拿到正确的版本;其他一众 Node.js 版本工具,比如 [fnm](https://github.com/Schniz/fnm)、[tj/n](https://github.com/tj/n) 应该也有类似的功能。
|
||||||
|
|
||||||
**安装前准备工作**
|
**安装前准备工作**
|
||||||
- 查看tauri提供的依赖指南(**十分重要**):[链接](https://tauri.app/v1/guides/getting-started/prerequisites)
|
|
||||||
- 检查nodejs, rust版本。
|
- 查看 tauri 提供的依赖指南(**十分重要**):[链接](https://tauri.app/v1/guides/getting-started/prerequisites)
|
||||||
- 对于windows(至少安装了`Win10 SDK(10.0.19041.0)` 与`Visual Studio build tool 2022(>=17.2)`),还需要额外安装:
|
- 检查 nodejs, rust 版本。
|
||||||
1. Microsoft Visual C++ 2015-2022 Redistributable (x64)
|
- 对于 windows(至少安装了`Win10 SDK(10.0.19041.0)` 与`Visual Studio build tool 2022(>=17.2)`),还需要额外安装:
|
||||||
2. Microsoft Visual C++ 2015-2022 Redistributable (x86)
|
|
||||||
3. Microsoft Visual C++ 2012 Redistributable (x86)(可选)
|
1. Microsoft Visual C++ 2015-2022 Redistributable (x64)
|
||||||
4. Microsoft Visual C++ 2013 Redistributable (x86)(可选)
|
2. Microsoft Visual C++ 2015-2022 Redistributable (x86)
|
||||||
5. Microsoft Visual C++ 2008 Redistributable (x86)(可选)
|
3. Microsoft Visual C++ 2012 Redistributable (x86)(可选)
|
||||||
|
4. Microsoft Visual C++ 2013 Redistributable (x86)(可选)
|
||||||
|
5. Microsoft Visual C++ 2008 Redistributable (x86)(可选)
|
||||||
|
|
||||||
- 此外 Ubuntu 在开始之前可以运行如下命令,安装前期所需依赖。
|
- 此外 Ubuntu 在开始之前可以运行如下命令,安装前期所需依赖。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install libdbus-1-dev \
|
sudo apt install libdbus-1-dev \
|
||||||
libsoup2.4-dev \
|
libsoup2.4-dev \
|
||||||
|
|||||||
14
bin/README_EN.md
vendored
14
bin/README_EN.md
vendored
@@ -9,15 +9,19 @@ If the installation fails and you are prompted that you do not have permission,
|
|||||||
Also make sure that you're using a correct Node.js version `>=16 as 16.18.1`. If you're using [nvm](https://github.com/nvm-sh/nvm) for Node.js version management you may run `nvm use` from the root folder of the project and the correct version will be picked up. Other Node.js version management tools, such as [fnm](https://github.com/Schniz/fnm) and [tj/n](https://github.com/tj/n), should also have similar feature.
|
Also make sure that you're using a correct Node.js version `>=16 as 16.18.1`. If you're using [nvm](https://github.com/nvm-sh/nvm) for Node.js version management you may run `nvm use` from the root folder of the project and the correct version will be picked up. Other Node.js version management tools, such as [fnm](https://github.com/Schniz/fnm) and [tj/n](https://github.com/tj/n), should also have similar feature.
|
||||||
|
|
||||||
**Preparation before installation**
|
**Preparation before installation**
|
||||||
|
|
||||||
- Check out the dependency guide provided by tauri(**very important**): [link](https://tauri.app/v1/guides/getting-started/prerequisites)
|
- Check out the dependency guide provided by tauri(**very important**): [link](https://tauri.app/v1/guides/getting-started/prerequisites)
|
||||||
- Check nodejs, rust version.
|
- Check nodejs, rust version.
|
||||||
- For windows(at least installed `Win10 SDK (10.0.19041.0)` and `Visual Studio build tool 2022(>=17.2)`),additional installation is required:
|
- 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)
|
1. Microsoft Visual C++ 2015-2022 Redistributable (x64)
|
||||||
3. Microsoft Visual C++ 2012 Redistributable (x86) (optional)
|
2. Microsoft Visual C++ 2015-2022 Redistributable (x86)
|
||||||
4. Microsoft Visual C++ 2013 Redistributable (x86) (optional)
|
3. Microsoft Visual C++ 2012 Redistributable (x86) (optional)
|
||||||
5. Microsoft Visual C++ 2008 Redistributable (x86) (optional)
|
4. Microsoft Visual C++ 2013 Redistributable (x86) (optional)
|
||||||
|
5. Microsoft Visual C++ 2008 Redistributable (x86) (optional)
|
||||||
|
|
||||||
- In addition, Ubuntu can run the following command before starting to install the required dependencies in the early stage.
|
- In addition, Ubuntu can run the following command before starting to install the required dependencies in the early stage.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install libdbus-1-dev \
|
sudo apt install libdbus-1-dev \
|
||||||
libsoup2.4-dev \
|
libsoup2.4-dev \
|
||||||
|
|||||||
Reference in New Issue
Block a user