mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
506ce4835b
* refactor(updater): accomodate to new tauri config restructure RFC#5 https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md RFC#5 PR implementation: https://github.com/tauri-apps/tauri/pull/8723 * lint and update configs
22 lines
1015 B
Markdown
22 lines
1015 B
Markdown
---
|
|
"updater": "patch"
|
|
---
|
|
|
|
Refactored the updater plugin to accommodate to the new changes in tauri config:
|
|
|
|
- JSON plugin config:
|
|
|
|
- Added `pubkey` option.
|
|
- Added `windows` option which is a Windows-specific options.
|
|
- Renamed `installer_args` to `installerArgs`.
|
|
- Moved `installerArgs` option to the new `windows` object.
|
|
|
|
- Rust crate changes:
|
|
- Added `pubkey` field for `Config`.
|
|
- Added `windows` field for `Config` option which is a Windows-specific options.
|
|
- Added `WindowsConfig` and `WindowsUpdateInstallMode`.
|
|
- Moved `installerArgs` option to the new `windows` object.
|
|
- Added `Builder::pubkey` and `UpdaterBuilder::pubkey`.
|
|
- Changed `Builder::installer_args` and `UpdaterBuilder::installer_args` to add to existing installer args, instead of replacing them, use `Builder/UpdaterBuilder::clear_installer_args` to clear existing args.
|
|
- Added `Builder::installer_arg`, `Builder::clear_installer_args`, `UpdaterBuilder::installer_arg` and `UpdaterBuilder::clear_installer_args`.
|