浏览代码

use tauri bundle 1.2

Evan Almloff 1 年之前
父节点
当前提交
7bf0926938
共有 2 个文件被更改,包括 3 次插入6 次删除
  1. 3 3
      packages/cli/Cargo.toml
  2. 0 3
      packages/cli/src/config.rs

+ 3 - 3
packages/cli/Cargo.toml

@@ -72,13 +72,13 @@ mlua = { version = "0.8.1", features = [
 ctrlc = "3.2.3"
 gitignore = "1.0.7"
 open = "4.1.0"
-cargo-generate = { git = "https://github.com/Demonthos/cargo-generate", branch = "update-tempfile" }
+cargo-generate = "0.18"
 toml_edit = "0.19.11"
 # dioxus-rsx = "0.0.1"
 
 # bundling
-tauri-bundler = { version = "2.0.0-alpha.6", features = ["native-tls-vendored"] }
-tauri-utils = "2.0.0-alpha.6"
+tauri-bundler = { version = "1.2", features = ["native-tls-vendored"] }
+tauri-utils = "1.3"
 
 dioxus-autofmt = { workspace = true }
 dioxus-check = { workspace = true }

+ 0 - 3
packages/cli/src/config.rs

@@ -381,7 +381,6 @@ impl From<DebianSettings> for tauri_bundler::DebianSettings {
         tauri_bundler::DebianSettings {
             depends: val.depends,
             files: val.files,
-            desktop_template: None,
         }
     }
 }
@@ -516,14 +515,12 @@ pub struct NsisSettings {
 impl From<NsisSettings> for tauri_bundler::NsisSettings {
     fn from(val: NsisSettings) -> Self {
         tauri_bundler::NsisSettings {
-            template: val.template,
             license: val.license,
             header_image: val.header_image,
             sidebar_image: val.sidebar_image,
             installer_icon: val.installer_icon,
             install_mode: val.install_mode.into(),
             languages: val.languages,
-            custom_language_files: val.custom_language_files,
             display_language_selector: val.display_language_selector,
         }
     }