From 2357d976dc27bf0729da6240e8fce0a482e14f63 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 9 Sep 2025 15:21:49 +0800 Subject: [PATCH] chore: bump version to 3.1.2 for auto-updater testing --- latest.json | 23 +++++++++++++++++++++++ package.json | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 latest.json diff --git a/latest.json b/latest.json new file mode 100644 index 0000000..e1322a5 --- /dev/null +++ b/latest.json @@ -0,0 +1,23 @@ +{ + "version": "3.1.2", + "notes": "自动更新功能首次测试\n\n- 集成 Tauri updater 插件\n- 添加自动更新检查功能\n- 支持应用内版本升级", + "pub_date": "2025-01-09T12:00:00Z", + "platforms": { + "darwin-aarch64": { + "signature": "需要上传后生成", + "url": "https://github.com/jasonyoung/cc-switch/releases/download/v3.1.2/CC-Switch-macOS.zip" + }, + "darwin-x86_64": { + "signature": "需要上传后生成", + "url": "https://github.com/jasonyoung/cc-switch/releases/download/v3.1.2/CC-Switch-macOS.zip" + }, + "windows-x86_64": { + "signature": "需要上传后生成", + "url": "https://github.com/jasonyoung/cc-switch/releases/download/v3.1.2/CC-Switch-Setup.exe" + }, + "linux-x86_64": { + "signature": "需要上传后生成", + "url": "https://github.com/jasonyoung/cc-switch/releases/download/v3.1.2/cc-switch_3.1.2_amd64.deb" + } + } +} \ No newline at end of file diff --git a/package.json b/package.json index 94493c5..1bc17d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cc-switch", - "version": "3.1.1", + "version": "3.1.2", "description": "Claude Code & Codex 供应商切换工具", "scripts": { "dev": "pnpm tauri dev", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 49b2021..2539388 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cc-switch" -version = "3.1.1" +version = "3.1.2" description = "Claude Code & Codex 供应商配置管理工具" authors = ["Jason Young"] license = "MIT" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f36a9cb..aa57013 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": "CC Switch", - "version": "3.1.1", + "version": "3.1.2", "identifier": "com.ccswitch.desktop", "build": { "frontendDist": "../dist",