diff --git a/.node-version b/.node-version
index 2bd5a0a..7273c0f 100644
--- a/.node-version
+++ b/.node-version
@@ -1 +1 @@
-22
+25
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 757313d..41cfc40 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -7,25 +7,16 @@
"label": "Dev Tauri",
"type": "shell",
"command": "bun tauri dev",
- "problemMatcher": [
- "$vite"
- ],
},
{
"label": "Build Tauri to nsis installer",
"type": "shell",
"command": "bun tauri build -b nsis",
- "problemMatcher": [
- "$vite"
- ],
},
{
"label": "Build Tauri",
"type": "shell",
"command": "bun tauri build",
- "problemMatcher": [
- "$vite"
- ],
}
]
-}
+}
\ No newline at end of file
diff --git a/next-env.d.ts b/next-env.d.ts
index c4b7818..9edff1c 100644
--- a/next-env.d.ts
+++ b/next-env.d.ts
@@ -1,6 +1,6 @@
///
///
-import "./.next/dev/types/routes.d.ts";
+import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
diff --git a/package.json b/package.json
index 20e0c36..aa0a484 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "cstb-next",
- "version": "0.0.1",
+ "version": "0.0.6",
"private": true,
"author": {
"name": "Purp1e",
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 3ae7431..d7e1ff9 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -4,7 +4,7 @@ version = 4
[[package]]
name = "CS工具箱"
-version = "0.0.1"
+version = "0.0.6"
dependencies = [
"anyhow",
"base64 0.22.1",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 9cbc024..161bbf3 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "CS工具箱"
-version = "0.0.1"
+version = "0.0.6"
description = "A Tauri App"
authors = ["Purp1e"]
license = ""
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 14b8396..73ac920 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -44,7 +44,7 @@
},
"productName": "CS工具箱",
"mainBinaryName": "cstb",
- "version": "0.0.6-beta.3",
+ "version": "0.0.6-beta.4",
"identifier": "upup.cool",
"plugins": {
"deep-link": {
diff --git a/src/components/window/Card.tsx b/src/components/window/Card.tsx
index 5226c0d..07bbd21 100644
--- a/src/components/window/Card.tsx
+++ b/src/components/window/Card.tsx
@@ -24,7 +24,7 @@ const Card = ({ children, className, ...props }: CardProps) => {
const CardHeader = ({ children }: CardProps) => {
return (
-
+
{children}
)
diff --git a/src/store/app.ts b/src/store/app.ts
index 46e8f0f..d3f1cd7 100644
--- a/src/store/app.ts
+++ b/src/store/app.ts
@@ -36,7 +36,7 @@ export const useAppStore = () => {
}
}
-const launchStore = new LazyStore('cstb.json', { autoSave: true });
+const launchStore = new LazyStore('cstb.json', { autoSave: true, defaults: defaultValue });
if (typeof window !== 'undefined') void launchStore.save()
const setVersion = (version: string) => {