From 93c572076903eaab8eb35a04536778a5ba8a019d Mon Sep 17 00:00:00 2001 From: KimiSwitch Dev Date: Fri, 7 Aug 2026 16:07:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(website):=20=E4=B8=8B=E8=BD=BD=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E6=8C=89=20GitHub=20CI=20=E5=AE=9E=E9=99=85=E8=B5=84?= =?UTF-8?q?=E4=BA=A7=E5=90=8D=E6=94=B9=E5=9B=9E=E7=82=B9=E5=8F=B7=E5=91=BD?= =?UTF-8?q?=E5=90=8D=EF=BC=88Kimi.Switch=5F=E2=80=A6=EF=BC=89=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E4=BF=AE=E6=AD=A3=20release=20=E6=A8=A1=E6=9D=BF=20dm?= =?UTF-8?q?g=20=E6=96=87=E4=BB=B6=E5=90=8D=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 +- website/src/sections/Download.tsx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 219745b..c07c840 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: ### macOS 安装说明(无开发者账号签名,需一次手动绕过) - 1. 下载 `KimiSwitch_*.dmg`,双击挂载后把 `Kimi Switch.app` 拖入「应用程序」文件夹 + 1. 下载 `Kimi.Switch_*.dmg`,双击挂载后把 `Kimi Switch.app` 拖入「应用程序」文件夹 2. 下载本 Release 附带的 `install-macos.sh`,在终端运行: ```bash diff --git a/website/src/sections/Download.tsx b/website/src/sections/Download.tsx index fd327fb..3f35bda 100644 --- a/website/src/sections/Download.tsx +++ b/website/src/sections/Download.tsx @@ -14,21 +14,21 @@ const MIRROR_RELEASES = "https://git.codingplan.site/admin/KimiCodeSwitch/releas const dl = (file: string) => `${GITHUB}/releases/download/v${VERSION}/${file}`; /** Per-platform download assets for the current release (names match the CI - * release workflow. NOTE: tauri-bundler keeps the productName verbatim, so the - * real asset is "Kimi Switch_0.7.3_…" (space), URL-encoded as %20. */ + * release workflow exactly — verified against the published v0.7.3 assets: + * tauri-bundler on CI produces `Kimi.Switch_…` (dots) on every platform). */ const assets: Record = { windows: [ - { label: "MSI", href: dl("Kimi%20Switch_0.7.3_x64_en-US.msi") }, + { label: "MSI", href: dl("Kimi.Switch_0.7.3_x64_en-US.msi") }, { label: "镜像", href: MIRROR_RELEASES }, ], macos: [ - { label: "Apple Silicon (.dmg)", href: dl("Kimi%20Switch_0.7.3_aarch64.dmg") }, + { label: "Apple Silicon (.dmg)", href: dl("Kimi.Switch_0.7.3_aarch64.dmg") }, { label: "安装脚本", href: dl("install-macos.sh") }, ], linux: [ - { label: ".deb", href: dl("Kimi%20Switch_0.7.3_amd64.deb") }, - { label: ".AppImage", href: dl("Kimi%20Switch_0.7.3_amd64.AppImage") }, - { label: ".rpm", href: dl("Kimi%20Switch-0.7.3-1.x86_64.rpm") }, + { label: ".deb", href: dl("Kimi.Switch_0.7.3_amd64.deb") }, + { label: ".AppImage", href: dl("Kimi.Switch_0.7.3_amd64.AppImage") }, + { label: ".rpm", href: dl("Kimi.Switch-0.7.3-1.x86_64.rpm") }, ], };