mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-13 21:02:10 +08:00
Change README
This commit is contained in:
parent
e91dcdfbdb
commit
21cddb6d00
@ -20,11 +20,12 @@ Supports associated folders (real-time synchronization of folder contents), quic
|
||||
|
||||
# Compilation Steps
|
||||
|
||||
1. First you need to install `node-gyp`, which is needed to compile local modules.
|
||||
2. Then run `yarn install` to install the project dependencies (if you modify the `Rust` code, you need to re-run `yarn install`).
|
||||
3. `yarn run dev` runs the project locally.
|
||||
4. `yarn run build` packages the project.
|
||||
5. The portable version and the installation version need to be packaged twice. By modifying `VITE_INSTALL` in `.env.production`, `true` means the installation version and `false` means the portable version.
|
||||
1. Install `node-gyp`, required to compile SQLite3.
|
||||
2. Install the `Rust` environment + `Cargo`, which is needed to compile Rust.
|
||||
3. Then run `yarn install` to install the project dependencies (if you modify the `Rust` code, you need to re-run `yarn install`).
|
||||
4. `yarn run dev` runs the project locally.
|
||||
5. `yarn run build` packages the project.
|
||||
6. The portable version and the installation version need to be packaged twice. By modifying `VITE_INSTALL` in `.env.production`, `true` means the installation version and `false` means the portable version.
|
||||
|
||||
# Official Website
|
||||
|
||||
|
11
README.md
11
README.md
@ -20,11 +20,12 @@
|
||||
|
||||
# 编译步骤
|
||||
|
||||
1. 首先需要安装`node-gyp`,编译本地模块需要用到。
|
||||
2. 然后运行`yarn install`安装项目依赖(如果修改了`Rust`代码也需要重新运行`yarn install`)。
|
||||
3. `yarn run dev`本地运行项目。
|
||||
4. `yarn run build`打包项目。
|
||||
5. 便携版和安装版需要分两次打包,通过修改`.env.production`中的`VITE_INSTALL`,`true`为安装版,`false`为便携版。
|
||||
1. 安装`node-gyp`,编译 SQLite3 需要。
|
||||
2. 安装`Rust`环境 + `Cargo`,编译 Rust 需要。
|
||||
3. 然后运行`yarn install`安装项目依赖(如果修改了`Rust`代码也需要重新运行`yarn install`)。
|
||||
4. `yarn run dev`本地运行项目。
|
||||
5. `yarn run build`打包项目。
|
||||
6. 便携版和安装版需要分两次打包,通过修改`.env.production`中的`VITE_INSTALL`,`true`为安装版,`false`为便携版。
|
||||
|
||||
# 官网
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user