Add build example

This commit is contained in:
Mylloon 2024-05-23 20:11:16 +02:00
parent f23a7fc58c
commit 13abb5d503
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 33 additions and 5 deletions

View file

@ -1 +1,29 @@
# xtoyr
Write french words.
## User documentation
This software isn't released yet.
## Developer documentation
> See [system requirements](https://tauri.app/v1/guides/getting-started/prerequisites#1-system-dependencies)
This project use [Tauri v1](https://tauri.app).
### See changes
```sh
cargo tauri dev
```
### Build
<!-- rustup target add x86_64-pc-windows-gnu -->
```sh
cargo tauri build --target x86_64-pc-windows-gnu
```
This creates installer at `src-tauri/target/x86_64-pc-windows-gnu/release/xtoyr.exe`.

View file

@ -8,12 +8,12 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
tauri-build = { version = "1", features = [] }
tauri-build = { version = "1.5", features = [] }
[dependencies]
tauri = { version = "1", features = ["shell-open"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tauri = { version = "1.6", features = ["shell-open"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[features]
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!

View file

@ -27,7 +27,7 @@
"csp": null
},
"bundle": {
"active": true,
"active": false,
"targets": "all",
"identifier": "fr.mylloon",
"icon": ["icons/icon.png", "icons/icon.ico"]