更新说明文档,增加一键打包所有项目功能.
This commit is contained in:
@@ -107,6 +107,9 @@ npm run build:windows
|
|||||||
|
|
||||||
// 打包(Linux)
|
// 打包(Linux)
|
||||||
npm run build:linux
|
npm run build:linux
|
||||||
|
|
||||||
|
// 一键打包所有项目(Linux/Mac)
|
||||||
|
chmod +x build.sh && ./build.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## 打新包
|
## 打新包
|
||||||
|
|||||||
@@ -111,6 +111,9 @@ npm run build:windows
|
|||||||
npm run build:linux
|
npm run build:linux
|
||||||
```
|
```
|
||||||
|
|
||||||
|
// Package all your projects in one click
|
||||||
|
chmod +x build.sh && ./build.sh
|
||||||
|
|
||||||
## New pack
|
## New pack
|
||||||
|
|
||||||
1. Modify the `tauri.conf.json` in the `src-tauri` directory to include 4 fields `url, productName, icon, identifier`, icon can be selected from the `icons` directory or downloaded from [macOSicons](https://macosicons.com/#/) to match the product.
|
1. Modify the `tauri.conf.json` in the `src-tauri` directory to include 4 fields `url, productName, icon, identifier`, icon can be selected from the `icons` directory or downloaded from [macOSicons](https://macosicons.com/#/) to match the product.
|
||||||
|
|||||||
Reference in New Issue
Block a user