This commit is contained in:
Fractal-Tess
2023-05-14 14:34:58 +03:00
parent cfc67fffc6
commit 1311519fb1
4 changed files with 24 additions and 2 deletions

21
src-tauri/Cargo.lock generated
View File

@@ -1729,6 +1729,12 @@ dependencies = [
"autocfg",
]
[[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.7.1"
@@ -3115,6 +3121,7 @@ checksum = "d42ba3a2e8556722f31336a0750c10dbb6a81396a1c452977f515da83f69f842"
dependencies = [
"anyhow",
"attohttpc",
"base64 0.21.0",
"cocoa",
"dirs-next",
"embed_plist",
@@ -3127,6 +3134,7 @@ dependencies = [
"heck 0.4.1",
"http",
"ignore",
"minisign-verify",
"notify-rust",
"objc",
"once_cell",
@@ -3152,12 +3160,14 @@ dependencies = [
"tauri-utils",
"tempfile",
"thiserror",
"time",
"tokio",
"url",
"uuid",
"webkit2gtk",
"webview2-com",
"windows 0.39.0",
"zip",
]
[[package]]
@@ -4314,6 +4324,17 @@ dependencies = [
"zvariant",
]
[[package]]
name = "zip"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e92305c174683d78035cbf1b70e18db6329cc0f1b9cae0a52ca90bf5bfe7125"
dependencies = [
"byteorder",
"crc32fast",
"crossbeam-utils",
]
[[package]]
name = "zvariant"
version = "3.13.0"

View File

@@ -19,7 +19,7 @@ serde_json = "1.0"
sha2 = "0.10.6"
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev" }
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.2.3", features = ["api-all", "devtools"] }
tauri = { version = "1.2.3", features = ["api-all", "devtools", "updater"] }
[features]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL

View File

@@ -15,4 +15,5 @@
</span>
&#160 Template
</h2>
<p class="text-4xl font-bold">UPDATE</p>
</div>

View File

@@ -7,7 +7,7 @@
};
const getVersions = async (): Promise<Versions> => {
const [tauri, app, name] = await Promise.all([
const [name, tauri, app] = await Promise.all([
getName(),
getTauriVersion(),
getVersion()