mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-14 13:21:01 +03:00
e57a303748
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
30 lines
520 B
Markdown
30 lines
520 B
Markdown
# Updater Example
|
|
|
|
This example showcases the App Updater feature.
|
|
|
|
## Running the example
|
|
|
|
- Compile Tauri
|
|
go to root of the Tauri repo and run:
|
|
Linux / Mac:
|
|
```
|
|
# choose to install node cli (1)
|
|
bash .scripts/setup.sh
|
|
```
|
|
|
|
Windows:
|
|
```
|
|
./.scripts/setup.ps1
|
|
```
|
|
|
|
- Run the app in development mode (Run inside of this folder `examples/updater/`)
|
|
```bash
|
|
$ cargo tauri dev
|
|
```
|
|
|
|
- Build an run the release app (Run inside of this folder `examples/updater/`)
|
|
```bash
|
|
$ cargo tauri build
|
|
$ ./src-tauri/target/release/app
|
|
```
|