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") }, ], };