Просмотр исходного кода

fix(cli): UpdaterConfig is not flexible (#8741)

Lucas Fernandes Nogueira 1 год назад
Родитель
Сommit
63d6d474fd
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      tooling/cli/src/interface/rust.rs

+ 0 - 4
tooling/cli/src/interface/rust.rs

@@ -692,11 +692,7 @@ enum DesktopDeepLinks {
 }
 
 #[derive(Deserialize)]
-#[serde(deny_unknown_fields)]
 pub struct UpdaterConfig {
-  /// Whether the updater is active or not.
-  #[serde(default)]
-  pub active: bool,
   /// Signature public key.
   pub pubkey: String,
   /// The Windows configuration for the updater.