mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-22 17:10:53 +02:00
ab7489c964
* 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
469 B
469 B
To test the updater:
- Comment out
verify_signatureinsideplugins/updater/src/updater.rs - Run
pnpm tauri build --debugto build the bundles - Copy the bundle you want to test to this folder (
examples/api/updater-test/) - Run
pnpm tauri devand open the Updater tab to check
If the bundle you're testing doesn't exist in the updater.json yet, add it manually and welcome to open an PR
The
updater.jsonand debug bundles will be served byvite