fix(windows): relax UpdaterWindowsConfig to not deny unknowns fields (#9126)

This commit is contained in:
Tony 2024-03-11 23:30:14 +08:00 committed by GitHub
parent db0a24a973
commit c3ea3a2b7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fix bundling when `plugins > updater > windows > installerArgs` are set in `tauri.conf.json`

View File

@ -776,7 +776,7 @@ impl WindowsUpdateInstallMode {
}
#[derive(Default, Deserialize)]
#[serde(rename_all = "camelCase", deny_unknown_fields)]
#[serde(rename_all = "camelCase")]
pub struct UpdaterWindowsConfig {
#[serde(default, alias = "install-mode")]
pub install_mode: WindowsUpdateInstallMode,