From 0a1af9d1c239c42f4b0eafed48f67dcffd517291 Mon Sep 17 00:00:00 2001 From: Nikita Galaiko Date: Fri, 1 Sep 2023 12:54:36 +0200 Subject: [PATCH] small fixes --- src-tauri/Cargo.lock | 30 ------------------------------ src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 8 -------- src-tauri/tauri.conf.nightly.json | 1 - src-tauri/tauri.conf.release.json | 1 - 5 files changed, 1 insertion(+), 41 deletions(-) diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 08460693e..9d52d53cb 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -363,9 +363,6 @@ name = "bytes" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" -dependencies = [ - "serde", -] [[package]] name = "bzip2" @@ -2634,12 +2631,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "minisign-verify" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "933dca44d65cdd53b355d0b73d380a2ff5da71f87f036053188bf1eab6a19881" - [[package]] name = "miniz_oxide" version = "0.6.2" @@ -3766,12 +3757,10 @@ dependencies = [ "serde_urlencoded", "tokio", "tokio-native-tls", - "tokio-util", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", - "wasm-streams", "web-sys", "winreg 0.10.1", ] @@ -4889,8 +4878,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fbe522898e35407a8e60dc3870f7579fea2fc262a6a6072eccdd37ae1e1d91e" dependencies = [ "anyhow", - "base64 0.21.2", - "bytes", "cocoa", "dirs-next", "embed_plist", @@ -4903,7 +4890,6 @@ dependencies = [ "heck 0.4.1", "http", "ignore", - "minisign-verify", "objc", "once_cell", "open", @@ -4911,7 +4897,6 @@ dependencies = [ "rand 0.8.5", "raw-window-handle", "regex", - "reqwest", "rfd", "semver", "serde", @@ -4926,14 +4911,12 @@ dependencies = [ "tauri-utils", "tempfile", "thiserror", - "time", "tokio", "url", "uuid", "webkit2gtk", "webview2-com", "windows 0.39.0", - "zip", ] [[package]] @@ -5767,19 +5750,6 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" -[[package]] -name = "wasm-streams" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bbae3363c08332cadccd13b67db371814cd214c2524020932f0804b8cf7c078" -dependencies = [ - "futures-util", - "js-sys", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - [[package]] name = "web-sys" version = "0.3.64" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index e0925442f..73ffbbc5f 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -15,7 +15,7 @@ tauri-build = { version = "1.4", features = [] } [dependencies] serde = { version = "1.0", features = ["derive"] } -tauri = { version = "1.4", features = [ "process-relaunch", "updater", "dialog-open", "fs-read-file", "path-all", "protocol-asset", "shell-open", "system-tray", "window-start-dragging"] } +tauri = { version = "1.4", features = [ "process-relaunch", "dialog-open", "fs-read-file", "path-all", "protocol-asset", "shell-open", "system-tray", "window-start-dragging"] } tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" } tauri-plugin-websocket = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" } notify = { version = "6.0.1" } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index ee790de3d..0af5a1509 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -54,14 +54,6 @@ "systemTray": { "iconPath": "icons/tray.png", "iconAsTemplate": true - }, - "updater": { - "active": true, - "dialog": false, - "endpoints": [ - "https://app.gitbutler.com/releases/nightly/{{target}}-{{arch}}/{{current_version}}" - ], - "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDYwNTc2RDhBM0U0MjM4RUIKUldUck9FSStpbTFYWUE5UkJ3eXhuekZOL2V2RnpKaFUxbGJRNzBMVmF5V0gzV1JvN3hRblJMRDIK" } } } diff --git a/src-tauri/tauri.conf.nightly.json b/src-tauri/tauri.conf.nightly.json index 0996fd7eb..9548bcd25 100644 --- a/src-tauri/tauri.conf.nightly.json +++ b/src-tauri/tauri.conf.nightly.json @@ -24,7 +24,6 @@ }, "updater": { "active": true, - "dialog": true, "endpoints": [ "https://app.gitbutler.com/releases/nightly/{{target}}-{{arch}}/{{current_version}}" ], diff --git a/src-tauri/tauri.conf.release.json b/src-tauri/tauri.conf.release.json index cd0c6404d..2d08b8865 100644 --- a/src-tauri/tauri.conf.release.json +++ b/src-tauri/tauri.conf.release.json @@ -24,7 +24,6 @@ }, "updater": { "active": true, - "dialog": true, "endpoints": [ "https://app.gitbutler.com/releases/release/{{target}}-{{arch}}/{{current_version}}" ],