From eecfcdf40ad449ea1a68a0fd4bc935a57fd81ab8 Mon Sep 17 00:00:00 2001 From: farion1231 Date: Wed, 6 Aug 2025 23:52:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20macOS=20=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E5=92=8C=E7=89=88=E6=9C=AC=E5=86=B2=E7=AA=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 macOS 目标从 DMG 改为 ZIP 避免 hdiutil 问题 - 更新版本号到 1.0.5 避免标签冲突 - 添加 ARM64 和 x64 双架构支持 - 禁用自动发布避免版本冲突 --- package.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 22033e7..1e4c9e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cc-switch", - "version": "1.0.0", + "version": "1.0.5", "description": "Claude Code 供应商切换工具", "main": "dist/main/index.js", "scripts": { @@ -38,6 +38,7 @@ "appId": "com.ccswitch.app", "productName": "CC Switch", "compression": "maximum", + "publish": null, "directories": { "output": "release" }, @@ -52,7 +53,13 @@ ], "mac": { "category": "public.app-category.developer-tools", - "icon": "build/icon.icns" + "icon": "build/icon.icns", + "target": [ + { + "target": "zip", + "arch": ["arm64", "x64"] + } + ] }, "win": { "target": [