Add build example
This commit is contained in:
parent
f23a7fc58c
commit
13abb5d503
3 changed files with 33 additions and 5 deletions
28
README.md
28
README.md
|
@ -1 +1,29 @@
|
||||||
# xtoyr
|
# 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`.
|
||||||
|
|
|
@ -8,12 +8,12 @@ edition = "2021"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = { version = "1", features = [] }
|
tauri-build = { version = "1.5", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tauri = { version = "1", features = ["shell-open"] }
|
tauri = { version = "1.6", features = ["shell-open"] }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1"
|
serde_json = "1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!
|
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"csp": null
|
"csp": null
|
||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": false,
|
||||||
"targets": "all",
|
"targets": "all",
|
||||||
"identifier": "fr.mylloon",
|
"identifier": "fr.mylloon",
|
||||||
"icon": ["icons/icon.png", "icons/icon.ico"]
|
"icon": ["icons/icon.png", "icons/icon.ico"]
|
||||||
|
|
Loading…
Reference in a new issue