Parcourir la source

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

Lucas Fernandes Nogueira il y a 2 ans
Parent
commit
6d25c4d07f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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,