chore(release): bump to v0.7.2 — 高级设置 + WebUI 快捷入口 + loop_control 兼容 + macOS 安装脚本
Release / Attach macOS install script (push) Canceled after 0s
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s

This commit is contained in:
KimiSwitch Dev committed 2026-08-07 10:21:47 +08:00
1 parent 24d37fbbf4
commit fc09a29b9f
21 files changed
+492 -230

No files matched your search

+9 -7
View File
@@ -8,25 +8,27 @@ const icons: Record<string, Icon> = {
linux: LinuxLogo,
};
const VERSION = "0.7.0";
const VERSION = "0.7.2";
const GITHUB = "https://github.com/billowliu2/KimiSwitch";
const MIRROR_RELEASES = "https://git.codingplan.site/admin/KimiCodeSwitch/releases";
const dl = (file: string) => `${GITHUB}/releases/download/v${VERSION}/${file}`;
/** Per-platform download assets for the current release (names match the CI
* release workflow, e.g. Kimi.Switch_0.7.0_x64_en-US.msi). */
* release workflow. NOTE: tauri-bundler keeps the productName verbatim, so the
* real asset is "Kimi Switch_0.7.2_…" (space), URL-encoded as %20. */
const assets: Record<string, { label: string; href: string }[]> = {
windows: [
{ label: "MSI", href: dl("Kimi.Switch_0.7.0_x64_en-US.msi") },
{ label: "MSI", href: dl("Kimi%20Switch_0.7.2_x64_en-US.msi") },
{ label: "镜像", href: MIRROR_RELEASES },
],
macos: [
{ label: "Apple Silicon (.dmg)", href: dl("Kimi.Switch_0.7.0_aarch64.dmg") },
{ label: "Apple Silicon (.dmg)", href: dl("Kimi%20Switch_0.7.2_aarch64.dmg") },
{ label: "安装脚本", href: dl("install-macos.sh") },
],
linux: [
{ label: ".deb", href: dl("Kimi.Switch_0.7.0_amd64.deb") },
{ label: ".AppImage", href: dl("Kimi.Switch_0.7.0_amd64.AppImage") },
{ label: ".rpm", href: dl("Kimi.Switch-0.7.0-1.x86_64.rpm") },
{ label: ".deb", href: dl("Kimi%20Switch_0.7.2_amd64.deb") },
{ label: ".AppImage", href: dl("Kimi%20Switch_0.7.2_amd64.AppImage") },
{ label: ".rpm", href: dl("Kimi%20Switch-0.7.2-1.x86_64.rpm") },
],
};