瀏覽代碼

fix(config): properly reference updater configuration on ToTokens impl (#6957)

Lucas Fernandes Nogueira 2 年之前
父節點
當前提交
6d25c4d07f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/tauri-utils/src/config.rs

+ 1 - 1
core/tauri-utils/src/config.rs

@@ -2126,7 +2126,7 @@ mod build {
       let windows = &self.windows;
       let ios = quote!(Default::default());
       let android = quote!(Default::default());
-      let updater = quote!(Default::default());
+      let updater = &self.updater;
 
       literal_struct!(
         tokens,