From 8e63340a275792be43b9ccb1441b8d70ced7b64a Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 10:38:55 +0800 Subject: [PATCH 01/13] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加版权、作者信息,修改打包出的 Windows 安装包后缀 `en_US` 到 `zh_CN` --- README.md | 10 +++++++++- src-tauri/tauri.conf.json | 12 +++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 210fca6..d3e5a54 100644 --- a/README.md +++ b/README.md @@ -17,21 +17,29 @@ 下载对应操作系统的安装包,执行安装即可。 -> 由于作者目前 Rust 水平有限,无法去除打包后的 `en_US` Locale 后缀,但实际语言仍然为中文。 +包类型(文件后缀): + +- Windows: `x64.msi` +- macOS + - Intel: `x64.dmg` + - Apple Silicon: `aarch64.dmg` ## 什么原理 收集整理了N条骂人的句子,然后随机读取一条输出即可。 核心代码就一行: + ```sql SELECT * FROM `main` ORDER BY RANDOM() limit 1 ``` ## 词库都是怎么来的 + 最初来源于网络收集了一些,后来基本就都是各位用户的投稿了,投稿渠道现已关闭。 ## 写在最后 + 还有其他好玩的生成器,比如彩虹屁生成器、毒鸡汤、朋友圈文案等等,请访问 https://shadiao.app 体验。 同时也欢迎交流,可以扫码加微信,请备注 `github`,同时有**粉丝群**与**开发者群**,有兴趣可以私聊告知,会尽快拉你。 diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 4e6f278..08c63c0 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -23,7 +23,17 @@ }, "bundle": { "active": true, - "targets": "all", + "publisher": "Zihlu Wang", + "category": "Utility", + "targets": ["dmg", "msi"], + "windows": { + "wix": { + "language": "zh-CN" + } + }, + "license": "MIT", + "licenseFile": "../LICENSE", + "copyright": "Data Collected by @cndiandian, Developed by @zihluwang.", "icon": [ "icons/32x32.png", "icons/128x128.png", From 68f70e91480c9c8024a66b24b8bc410339d7b607 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 10:43:29 +0800 Subject: [PATCH 02/13] =?UTF-8?q?build:=20=E9=92=88=E5=AF=B9=20Windows=207?= =?UTF-8?q?=20=E6=B7=BB=E5=8A=A0=20WebView=20=E5=AE=89=E8=A3=85=E5=BC=95?= =?UTF-8?q?=E5=AF=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加 WebView 安装引导 --- src-tauri/tauri.conf.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 08c63c0..00bfd53 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -29,6 +29,9 @@ "windows": { "wix": { "language": "zh-CN" + }, + "webviewInstallMode": { + "type": "embedBootstrapper" } }, "license": "MIT", From 9627c4b1ad38b542bc1fb1f6325967e3db59d6e1 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 10:47:34 +0800 Subject: [PATCH 03/13] =?UTF-8?q?feat:=20=E7=A6=81=E7=94=A8=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E5=A4=A7=E5=B0=8F=E8=B0=83=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/tauri.conf.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 00bfd53..a51534a 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -14,7 +14,11 @@ { "title": "骂人宝典", "width": 560, - "height": 400 + "maxWidth": 560, + "minWidth": 560, + "height": 400, + "maxHeight": 400, + "minHeight": 400 } ], "security": { From ca79942a04131d643380a834db73becf8c6928f3 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 11:01:21 +0800 Subject: [PATCH 04/13] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E8=B4=A1?= =?UTF-8?q?=E7=8C=AE=E6=8C=87=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e31d89d..374c491 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,4 +11,20 @@ - React v18 - Tailwind CSS v4 -欢迎您从**代码**或**内容**两方面参与贡献,共同完善本项目。 \ No newline at end of file +欢迎您从**代码**或**内容**两方面参与贡献,共同完善本项目。 + +## 贡献指引 + +### 代码贡献 + +1. 【可选】创建 Issue,讨论你的想法。 +2. Fork 本仓库。 +3. 基于 `develop` 分支创建新 `feature/` 分支。 +4. 开始完善你的功能。 +5. 测试功能。 +6. 提交你的代码并通过创建 Pull Request 将代码合并到 `develop` 分支。 +7. 等待上线。 + +### 内容贡献 + +**暂时还没想好怎么提交新内容,等待这里更新再说吧。** From 11bf8a7b668fa6f9b8651dc38086b8554b790206 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 11:30:07 +0800 Subject: [PATCH 05/13] =?UTF-8?q?refactor:=20=E5=BA=94=E7=94=A8=E9=87=8D?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E4=B8=BA=E7=A5=96=E5=AE=89=E8=AF=AD=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- src-tauri/tauri.conf.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d3e5a54..186db29 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 骂人宝典 / 祖安语录桌面版 +# 祖安语录桌面版 ![MIT Licence](https://img.shields.io/github/license/zihluwang/zuanbot) @@ -9,7 +9,8 @@ 可以随机输出一条骂人的句子,有**口吐芬芳**与**火力全开**两个模式。 ## 词库下载 -[阿里云盘](https://www.aliyundrive.com/s/StTs9ojDAEF)、[蓝揍云](https://shadiao.lanzouw.com/b0116bgub) `密码hck1` 、 [诚通网盘](https://url08.ctfile.com/d/14688008-46477369-3732e0) `密码9919` + +[GitHub 下载](/src-tauri/data.db)、[阿里云盘](https://www.aliyundrive.com/s/StTs9ojDAEF)、[蓝揍云](https://shadiao.lanzouw.com/b0116bgub) `密码hck1` 、 [诚通网盘](https://url08.ctfile.com/d/14688008-46477369-3732e0) `密码9919` 在线文档:[Notion文档](https://dians.notion.site/d865fac077f1430f9510d020f8713c8e)、[口吐芬芳(谷歌文档)](https://docs.google.com/document/d/1SskgYtDpYL6P_4qmX2A1ndBl8MY5NeDcBaYPxS-yxIo/edit?usp=sharing) 、[火力全开(谷歌文档)](https://docs.google.com/document/d/14YG9qaNDZk275av-Iss6B6YY-eDTdkS5w_my3f7349A/edit?usp=sharing) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index a51534a..c8a13c1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -12,7 +12,7 @@ "app": { "windows": [ { - "title": "骂人宝典", + "title": "祖安语录", "width": 560, "maxWidth": 560, "minWidth": 560, From 404bbdd28adfe4a1a8fcbb6c01bf6cae51cb41f1 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 14:07:41 +0800 Subject: [PATCH 06/13] =?UTF-8?q?refactor:=20=E6=B7=BB=E5=8A=A0=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E8=AE=B8=E5=8F=AF=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src-tauri/resources/Licence.txt | 7 +++++++ src-tauri/{ => resources}/data.db | Bin src-tauri/src/database/mod.rs | 2 +- src-tauri/tauri.conf.json | 6 +++--- 5 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 src-tauri/resources/Licence.txt rename src-tauri/{ => resources}/data.db (100%) diff --git a/README.md b/README.md index 186db29..bfcb5d8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ## 词库下载 -[GitHub 下载](/src-tauri/data.db)、[阿里云盘](https://www.aliyundrive.com/s/StTs9ojDAEF)、[蓝揍云](https://shadiao.lanzouw.com/b0116bgub) `密码hck1` 、 [诚通网盘](https://url08.ctfile.com/d/14688008-46477369-3732e0) `密码9919` +[GitHub 下载](/src-tauri/resources/data.db)、[阿里云盘](https://www.aliyundrive.com/s/StTs9ojDAEF)、[蓝揍云](https://shadiao.lanzouw.com/b0116bgub) `密码hck1` 、 [诚通网盘](https://url08.ctfile.com/d/14688008-46477369-3732e0) `密码9919` 在线文档:[Notion文档](https://dians.notion.site/d865fac077f1430f9510d020f8713c8e)、[口吐芬芳(谷歌文档)](https://docs.google.com/document/d/1SskgYtDpYL6P_4qmX2A1ndBl8MY5NeDcBaYPxS-yxIo/edit?usp=sharing) 、[火力全开(谷歌文档)](https://docs.google.com/document/d/14YG9qaNDZk275av-Iss6B6YY-eDTdkS5w_my3f7349A/edit?usp=sharing) diff --git a/src-tauri/resources/Licence.txt b/src-tauri/resources/Licence.txt new file mode 100644 index 0000000..e38a625 --- /dev/null +++ b/src-tauri/resources/Licence.txt @@ -0,0 +1,7 @@ +Copyright (c) 2025 Zihlu Wang + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src-tauri/data.db b/src-tauri/resources/data.db similarity index 100% rename from src-tauri/data.db rename to src-tauri/resources/data.db diff --git a/src-tauri/src/database/mod.rs b/src-tauri/src/database/mod.rs index 2be90ca..f7c7005 100644 --- a/src-tauri/src/database/mod.rs +++ b/src-tauri/src/database/mod.rs @@ -30,7 +30,7 @@ impl Database { fn get_bundled_database_path(app_handle: &tauri::AppHandle) -> Result { let resource_path = app_handle .path() - .resolve("data.db", tauri::path::BaseDirectory::Resource)?; + .resolve("../../resources/data.db", tauri::path::BaseDirectory::Resource)?; println!("Database path: {:?}", resource_path); Ok(resource_path) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index c8a13c1..45129d2 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.tauri.app/config/2", - "productName": "zuanbot", + "productName": "Zuanbot", "version": "0.2.0", "identifier": "io.github.zihluwang.zuanbot", "build": { @@ -39,7 +39,7 @@ } }, "license": "MIT", - "licenseFile": "../LICENSE", + "licenseFile": "./resources/Licence.txt", "copyright": "Data Collected by @cndiandian, Developed by @zihluwang.", "icon": [ "icons/32x32.png", @@ -49,7 +49,7 @@ "icons/icon.ico" ], "resources": [ - "./data.db" + "./resources/data.db" ] } } From e23a6e0cdc87aa1c80c700065ccaeeef2ea085f5 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 16:02:12 +0800 Subject: [PATCH 07/13] =?UTF-8?q?refactor:=20=E5=BA=94=E7=94=A8=20UI=20?= =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 14 +++++--------- src/service/index.ts | 10 ++++++++++ src/types/index.ts | 4 ++++ 3 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 src/service/index.ts create mode 100644 src/types/index.ts diff --git a/src/App.tsx b/src/App.tsx index 162f0ba..c767188 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,10 +1,6 @@ import React, { useEffect, useState } from "react" -import { invoke } from "@tauri-apps/api/core" - -enum Level { - min = "min", - max = "max", -} +import { Level } from "@/types" +import * as service from "@/service" export default function App() { const [text, setText] = useState("") @@ -22,8 +18,8 @@ export default function App() { setLast(text) // 获取下一条信息 - const nextMessage = await invoke("get_message", { level }) - setText(nextMessage) + const nextZuanMessage = await service.nextZuan(level) + setText(nextZuanMessage) } const showLast = () => { @@ -43,7 +39,7 @@ export default function App() { } ) } else { - alert("当前浏览器不支持复制功能") + alert("暂时不支持复制功能") } } diff --git a/src/service/index.ts b/src/service/index.ts new file mode 100644 index 0000000..e35ee13 --- /dev/null +++ b/src/service/index.ts @@ -0,0 +1,10 @@ +import { invoke } from "@tauri-apps/api/core" +import { Level } from "@/types" + +/** + * 从服务端获取下一条祖安语录 + * @param level 祖安级别 + */ +export async function nextZuan(level?: Level) { + return await invoke("get_message", { level }) +} diff --git a/src/types/index.ts b/src/types/index.ts new file mode 100644 index 0000000..2d96d48 --- /dev/null +++ b/src/types/index.ts @@ -0,0 +1,4 @@ +export enum Level { + min = "min", + max = "max" +} \ No newline at end of file From 84e06241aac32ec68c5a8868cd986863150886ac Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 16:04:28 +0800 Subject: [PATCH 08/13] =?UTF-8?q?feat:=20=E7=A6=81=E7=94=A8=E9=A6=96?= =?UTF-8?q?=E6=9D=A1=E6=B6=88=E6=81=AF=E8=8E=B7=E5=8F=96=E4=B8=8A=E4=B8=80?= =?UTF-8?q?=E6=9D=A1=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index c767188..e40779a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,6 +11,8 @@ export default function App() { ;(async () => { await getMessage() })() + // 第一条消息,禁用“上一条”功能 + setIsLast(true) }, []) const getMessage = async (level?: Level) => { From a8d7519fb300393a49b5dc4d931f8b209a5ac20b Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 16:12:32 +0800 Subject: [PATCH 09/13] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=94=B1?= =?UTF-8?q?=E4=BA=8E=E8=BF=81=E7=A7=BB=E6=95=B0=E6=8D=AE=E5=BA=93=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E5=AF=BC=E8=87=B4=E7=9A=84=E6=97=A0=E6=B3=95=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/database/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/database/mod.rs b/src-tauri/src/database/mod.rs index f7c7005..ef8df2c 100644 --- a/src-tauri/src/database/mod.rs +++ b/src-tauri/src/database/mod.rs @@ -30,7 +30,7 @@ impl Database { fn get_bundled_database_path(app_handle: &tauri::AppHandle) -> Result { let resource_path = app_handle .path() - .resolve("../../resources/data.db", tauri::path::BaseDirectory::Resource)?; + .resolve("./resources/data.db", tauri::path::BaseDirectory::Resource)?; println!("Database path: {:?}", resource_path); Ok(resource_path) From 8daaa195eeeb670b138c83706a8f8e62372eb34c Mon Sep 17 00:00:00 2001 From: zihluwang Date: Tue, 29 Jul 2025 16:17:39 +0800 Subject: [PATCH 10/13] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=8E=B7=E5=8F=96=E4=B8=8A=E4=B8=80=E6=9D=A1=E8=AF=AD?= =?UTF-8?q?=E5=BD=95=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index e40779a..cc2d69b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -8,14 +8,22 @@ export default function App() { const [last, setLast] = useState("") useEffect(() => { + // 加载一条祖安语录 ;(async () => { await getMessage() })() - // 第一条消息,禁用“上一条”功能 + // 第一条消息,禁用上一条功能 setIsLast(true) }, []) + /** + * 获取一条祖安语录 + * @param level 语录等级 + */ const getMessage = async (level?: Level) => { + // 开放上一条功能 + setIsLast(false) + // 保存上一条信息 setLast(text) @@ -24,12 +32,17 @@ export default function App() { setText(nextZuanMessage) } + /** + * 展示上一条祖安语录 + */ const showLast = () => { setIsLast(true) setText(last) } - // 复制文字到剪贴板 + /** + * 复制文字到剪贴板 + */ const copyToClipboard = () => { if (navigator.clipboard) { navigator.clipboard.writeText(text).then( From 32bd0ee261b6ecb397c28e23c368212e99f0a61f Mon Sep 17 00:00:00 2001 From: zihluwang Date: Wed, 30 Jul 2025 11:24:11 +0800 Subject: [PATCH 11/13] =?UTF-8?q?docs:=20=E6=A0=B9=E6=8D=AE=E5=8E=9F?= =?UTF-8?q?=E4=BD=9C=E8=80=85=E7=9A=84=E8=A6=81=E6=B1=82=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=85=B6=E4=BA=8C=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/README.md b/README.md index bfcb5d8..6f0fd11 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,4 @@ SELECT * FROM `main` ORDER BY RANDOM() limit 1 ## 词库都是怎么来的 -最初来源于网络收集了一些,后来基本就都是各位用户的投稿了,投稿渠道现已关闭。 - -## 写在最后 - -还有其他好玩的生成器,比如彩虹屁生成器、毒鸡汤、朋友圈文案等等,请访问 https://shadiao.app 体验。 - -同时也欢迎交流,可以扫码加微信,请备注 `github`,同时有**粉丝群**与**开发者群**,有兴趣可以私聊告知,会尽快拉你。 - -![](http://qiniu.xshwy.cn/ddd.jpg) \ No newline at end of file +最初来源于网络收集了一些,后来基本就都是各位用户的投稿了,投稿渠道现已关闭。 \ No newline at end of file From 662b41cf44f647e35986912bb55e0df78242f67a Mon Sep 17 00:00:00 2001 From: zihluwang Date: Wed, 30 Jul 2025 11:24:33 +0800 Subject: [PATCH 12/13] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=20Mac=20?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E6=8A=A5=E9=94=99=E8=A7=A3=E5=86=B3=E6=96=B9?= =?UTF-8?q?=E6=A1=88=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6f0fd11..978cfff 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ - Intel: `x64.dmg` - Apple Silicon: `aarch64.dmg` +由于没有代码签名,在 Mac 上会因为没有开启允许所有开发者而提示软件损坏,此时可以打开**终端**,并输入 `xattr -d com.apple.quaratine /Applications/zuanbot.app` 再打开软件。 + ## 什么原理 收集整理了N条骂人的句子,然后随机读取一条输出即可。 From 5dbddc69cdeee18a3875984100ec9d4937618417 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Wed, 30 Jul 2025 11:26:15 +0800 Subject: [PATCH 13/13] =?UTF-8?q?build:=20=E5=8F=91=E5=B8=83=200.2.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5b61fc3..8cbcaca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zuanbot", "private": true, - "version": "0.2.0", + "version": "0.2.1", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 4d460d8..edede48 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -5233,7 +5233,7 @@ dependencies = [ [[package]] name = "zuanbot" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "rusqlite", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 76b116d..1cef816 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zuanbot" -version = "0.2.0" +version = "0.2.1" description = "祖安助手" authors = ["zihluwang"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 45129d2..2a740e7 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", + "version": "0.2.1", "identifier": "io.github.zihluwang.zuanbot", "build": { "beforeDevCommand": "pnpm dev",