🐛 完善文档的使用

This commit is contained in:
Tw93
2022-11-27 21:16:43 +08:00
parent ee90d2638b
commit 6320921709
2 changed files with 3 additions and 7 deletions

View File

@@ -116,12 +116,6 @@ npm run build:windows
// 打包 Linux 应用
npm run build:linux
// 一键打包所有 Mac/Linux 应用
chmod +x ./script/build.sh && ./script/build.sh
// 一键打包所有 Windows 项目
.\script\build.bat
```
## 打新包
@@ -131,7 +125,7 @@ chmod +x ./script/build.sh && ./script/build.sh
3. `npm run dev` 本地调试看看效果,此外可以使用 `npm run dev:debug` 进行容器调试
4. `npm run build` 运行即可打生产包
## 高级
## 高级用法
#### 1. 如何改写样式,如去掉原站广告、不想要的模块、甚至重新设计?

View File

@@ -26,6 +26,8 @@
"build": "npm run tauri build -- --target universal-apple-darwin",
"build:windows": "npm run tauri build -- --target x86_64-pc-windows-msvc",
"build:linux": "npm run tauri build --release",
"build:all-unix":"chmod +x ./script/build.sh && ./script/build.sh",
"build:all-windows": ".\\script\\build.bat",
"tauri": "tauri",
"cli": "rollup -c rollup.config.js --watch",
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",