Files
tauri-plugins-workspace/examples/api
Tony ab7489c964 feat(updater): option to not restart after install (#3299)
* feat(updater): option to not restart after install

* More platform cfg

* Add the same function for `UpdaterBuilder`

* Fix missing `#[cfg(windows)]`

* Mark `current_exe_args` cfg(windows)

* Mark `on_before_exit` cfg(windows)

* Mark `installer_args` cfg(windows)

* Note about `installer_arg` apply to both

* Remove current args and restart together

* Only build needed bundle on windows as well

* Remove `/NS` since it breaks the msi updater

* Add launch updater debug log

* Add a folder to test updates

* Remove unused `#[allow(unused)]`

* Format

* messed up git stage

* Add change file

* Clean up

* Disable NSIS compression for API example

* Bump wry for v1 test to pull in https://github.com/tauri-apps/wry/pull/1703

* format

* Make typescript happy

* Close new update on destroy
2026-07-21 18:25:16 +08:00
..
2023-05-05 09:41:17 -03:00
2023-05-05 09:41:17 -03:00
2026-07-19 00:40:36 +08:00
2026-07-19 00:40:36 +08:00
2023-05-05 09:41:17 -03:00
2023-05-05 09:41:17 -03:00

API example

This example demonstrates Tauri's API capabilities using the plugins from this repository. It's used as the main validation app, serving as the testbed of our development process. In the future, this app will be used on Tauri's integration tests.

App screenshot

Running the example

  • Install dependencies and build packages (Run inside of the repository root)
$ pnpm install
$ pnpm build
  • Run the app in development mode (Run inside of this folder examples/api/)
$ pnpm tauri dev
  • Build an run the release app (Run inside of this folder examples/api/)
$ pnpm tauri build
$ ./src-tauri/target/release/app