🐛 更新文档

This commit is contained in:
Tw93
2022-11-08 16:59:40 +08:00
parent 57d4992d46
commit 05dd6831c8
2 changed files with 13 additions and 9 deletions

View File

@@ -7,11 +7,13 @@
## Features
- 🏂 **Small**Nearly 40 times smaller than the Electron shell package, less than 3M ([Data](https://static.tw93.fun/img/pakedata.png)).
- 😂 **Fast**Using the Rust Tauri, the performance experience is much lighter and faster than JS, memory is much smaller.
- 🩴 **Special**Not just packaged, with universal shortcut pass-through, immersive windows, drag-and-drop, packaged style compatibility.
- 🐶 **Toy**Just a very simple little toy, a way to play with Rust instead of the old idea of shelling the web.
🏂 **Small**Nearly 40 times smaller than the Electron shell package, less than 3M ([Data](https://static.tw93.fun/img/pakedata.png)).
😂 **Fast**Using the Rust Tauri, the performance experience is much lighter and faster than JS, memory is much smaller.
🩴 **Special**Not just packaged, with universal shortcut pass-through, immersive windows, drag-and-drop, packaged style compatibility.
🐶 **Toy**Just a very simple little toy, a way to play with Rust instead of the old idea of shelling the web.
## Download
@@ -85,7 +87,7 @@ npm run build
1. Modify the `tauri.conf.json` in the `src-tauri` directory to include 5 fields `url, productName, icon, title, identifier`, icon can be selected from the `icons` directory or downloaded from [macOSicons](https://macosicons.com/#/) to match the product.
2. For window property settings, you can modify the `width/height` of the `windows` property in `tauri.conf.json`, whether it is `fullscreen`, whether it is `resizable`, if you are not good at adapting immersive headers, you can set `transparent` to `true` and you're done.
3. `npm run dev` for local debugging; `npm run dev:debug` to open the devtools for container debugging.
3. `npm run dev` for local debugging; `npm run dev:debug` to open the devtools for container debugging.
4. `npm run build` can be run to package for production.
## Advanced