From 51e038495ffda99eb3085d5d89309edbb3b35abe Mon Sep 17 00:00:00 2001
From: delibae
-
+
-
+
-
+
官网 · - macOS · - Windows · - Linux · + macOS · + Windows · + Linux · 所有版本
diff --git a/apps/desktop/package.json b/apps/desktop/package.json index fdb3402..5ea12b3 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@claude-prism/desktop", - "version": "1.0.2", + "version": "1.0.3", "private": true, "type": "module", "scripts": { diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml index 02429cd..4ef8f34 100644 --- a/apps/desktop/src-tauri/Cargo.toml +++ b/apps/desktop/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "claude-prism-desktop" -version = "1.0.2" +version = "1.0.3" description = "AI-powered LaTeX writing workspace" edition = "2021" diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json index 2567f64..698ea0a 100644 --- a/apps/desktop/src-tauri/tauri.conf.json +++ b/apps/desktop/src-tauri/tauri.conf.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/nicegui-unofficial/nicegui-tauri-template/main/src-tauri/tauri.conf-v2-schema.json", "identifier": "com.claude-prism.desktop", "productName": "ClaudePrism", - "version": "1.0.2", + "version": "1.0.3", "build": { "beforeDevCommand": "pnpm dev", "beforeBuildCommand": "pnpm build", diff --git a/package.json b/package.json index 7f059b7..ddb8053 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@claude-prism/root", "description": "Open-Source AI LaTeX writing workspace", - "version": "1.0.2", + "version": "1.0.3", "repository": { "type": "git", "url": "https://github.com/delibae/claude-prism" diff --git a/scripts/build-linux.sh b/scripts/build-linux.sh index 03b6365..9aa84b0 100755 --- a/scripts/build-linux.sh +++ b/scripts/build-linux.sh @@ -66,7 +66,7 @@ if [ -n "$APPIMAGE_PATH" ] && [ -n "$APPIMAGE_SIG" ]; then const data = JSON.parse(fs.readFileSync('$LATEST_JSON', 'utf8')); data.platforms['linux-x86_64'] = { signature: \`$SIGNATURE\`, - url: 'https://github.com/delibae/claude-prism/releases/download/$TAG/$APPIMAGE_FILENAME' + url: 'https://github.com/delibae/claude-prism/releases/download/$TAG/ClaudePrism-Linux.AppImage' }; fs.writeFileSync('$LATEST_JSON', JSON.stringify(data, null, 2)); " @@ -79,7 +79,7 @@ if [ -n "$APPIMAGE_PATH" ] && [ -n "$APPIMAGE_SIG" ]; then "platforms": { "linux-x86_64": { "signature": "$SIGNATURE", - "url": "https://github.com/delibae/claude-prism/releases/download/$TAG/$APPIMAGE_FILENAME" + "url": "https://github.com/delibae/claude-prism/releases/download/$TAG/ClaudePrism-Linux.AppImage" } } } diff --git a/scripts/build-macos.sh b/scripts/build-macos.sh index 42ae53b..1660efa 100755 --- a/scripts/build-macos.sh +++ b/scripts/build-macos.sh @@ -76,7 +76,7 @@ else const data = JSON.parse(fs.readFileSync('$LATEST_JSON', 'utf8')); data.platforms['darwin-aarch64'] = { signature: \`$SIGNATURE\`, - url: 'https://github.com/delibae/claude-prism/releases/download/$TAG/$UPDATE_FILENAME' + url: 'https://github.com/delibae/claude-prism/releases/download/$TAG/ClaudePrism-macOS.app.tar.gz' }; fs.writeFileSync('$LATEST_JSON', JSON.stringify(data, null, 2)); " @@ -89,7 +89,7 @@ else "platforms": { "darwin-aarch64": { "signature": "$SIGNATURE", - "url": "https://github.com/delibae/claude-prism/releases/download/$TAG/$UPDATE_FILENAME" + "url": "https://github.com/delibae/claude-prism/releases/download/$TAG/ClaudePrism-macOS.app.tar.gz" } } } @@ -103,8 +103,16 @@ echo "==> Uploading to GitHub Release $TAG" gh release view "$TAG" --repo delibae/claude-prism >/dev/null 2>&1 || \ gh release create "$TAG" --repo delibae/claude-prism --title "ClaudePrism $TAG" --generate-notes -UPLOAD_ASSETS=("$DMG_PATH") -[ -n "${UPDATE_TAR:-}" ] && UPLOAD_ASSETS+=("$UPDATE_TAR") +# Rename to version-free names +RENAMED_DMG="apps/desktop/src-tauri/target/ClaudePrism-macOS.dmg" +cp "$DMG_PATH" "$RENAMED_DMG" +UPLOAD_ASSETS=("$RENAMED_DMG") + +if [ -n "${UPDATE_TAR:-}" ]; then + RENAMED_TAR="apps/desktop/src-tauri/target/ClaudePrism-macOS.app.tar.gz" + cp "$UPDATE_TAR" "$RENAMED_TAR" + UPLOAD_ASSETS+=("$RENAMED_TAR") +fi [ -f "${LATEST_JSON:-}" ] && UPLOAD_ASSETS+=("$LATEST_JSON") gh release upload "$TAG" \