From 16bc1f55a203c82df23b3a854b31a0043a677a8b Mon Sep 17 00:00:00 2001
From: Purp1e <438518244@qq.com>
Date: Mon, 28 Oct 2024 15:05:56 +0800
Subject: [PATCH] update dep + card styles
---
src-tauri/Cargo.toml | 24 ++++++++++++------------
src/app/(main)/preference/layout.tsx | 6 +++---
src/components/window/Card.tsx | 4 ++--
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 5a3a681..f858c0d 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -12,24 +12,24 @@ rust-version = "1.66"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
-tauri-build = { version = "2.0.0-rc", features = [] }
+tauri-build = { version = "2.0.2", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
-tauri = { version = "2.0.0-rc", features = [ "macos-private-api",
+tauri = { version = "2.0.6", features = [ "macos-private-api",
"tray-icon"
] }
window-vibrancy = "0.5.2"
-tauri-plugin-process = "2.0.0-rc"
-tauri-plugin-fs = "2.0.0-rc"
-tauri-plugin-dialog = "2.0.0-rc"
-tauri-plugin-os = "2.0.0-rc"
-tauri-plugin-clipboard-manager = "2.0.0-alpha.2"
-tauri-plugin-shell = "2.0.0-rc"
-tauri-plugin-http = "2.0.0-rc"
-tauri-plugin-notification = "2.0.0-rc"
-tauri-plugin-store = "2.0.0-rc"
+tauri-plugin-process = "2.0.1"
+tauri-plugin-fs = "2.0.3"
+tauri-plugin-dialog = "2.0.3"
+tauri-plugin-os = "2.0.1"
+tauri-plugin-clipboard-manager = "2.0.1"
+tauri-plugin-shell = "2.0.2"
+tauri-plugin-http = "2.0.3"
+tauri-plugin-notification = "2.0.1"
+tauri-plugin-store = "2.1.0"
[target.'cfg(windows)'.dependencies] # Windows Only
winreg = "0.52.0"
@@ -42,4 +42,4 @@ default = [ "custom-protocol" ]
custom-protocol = [ "tauri/custom-protocol" ]
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
-tauri-plugin-global-shortcut = "2.0.0-rc"
+tauri-plugin-global-shortcut = "2.0.1"
diff --git a/src/app/(main)/preference/layout.tsx b/src/app/(main)/preference/layout.tsx
index d4e3453..2375372 100644
--- a/src/app/(main)/preference/layout.tsx
+++ b/src/app/(main)/preference/layout.tsx
@@ -16,21 +16,21 @@ export default function PreferenceLayout({ children }: { children: React.ReactNo