mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-13 12:44:45 +02:00
refactor(updater): accomodate to new tauri config restructure (#924)
* 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
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
---
|
||||
"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`.
|
||||
Reference in New Issue
Block a user