浏览代码

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

Lucas Fernandes Nogueira 1 年之前
父节点
当前提交
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.