diff --git a/package.json b/package.json index 4cd153e..5b61fc3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zuanbot", "private": true, - "version": "0.2.0-dev01", + "version": "0.2.0", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index df74f50..4d460d8 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -5233,7 +5233,7 @@ dependencies = [ [[package]] name = "zuanbot" -version = "0.1.0-dev01" +version = "0.2.0" dependencies = [ "anyhow", "rusqlite", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index d29c590..76b116d 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "zuanbot" -version = "0.1.0-dev01" -description = "A Tauri App" +version = "0.2.0" +description = "祖安助手" authors = ["zihluwang"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index b6ee899..4e6f278 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "zuanbot", - "version": "0.2.0-dev01", + "version": "0.2.0", "identifier": "io.github.zihluwang.zuanbot", "build": { "beforeDevCommand": "pnpm dev", @@ -13,8 +13,8 @@ "windows": [ { "title": "骂人宝典", - "width": 800, - "height": 600 + "width": 560, + "height": 400 } ], "security": { diff --git a/src/App.tsx b/src/App.tsx index c9c50f3..162f0ba 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,7 +7,6 @@ enum Level { } export default function App() { - // 文本内容状态 const [text, setText] = useState("") const [isLast, setIsLast] = useState(false) const [last, setLast] = useState("") @@ -50,33 +49,33 @@ export default function App() { return (
-
-

骂人宝典

- -
- -
-
+
+
- {text} +