Use Claude Code with your ChatGPT, Kimi, Cursor or Grok subscription via a local Anthropic-compatible proxy
Rust
release: zip windows artifacts
Raine Virtab0bf574a1714
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex fd49d10..ec5b49d 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -20,21 +20,27 @@ jobs:- target: bun-darwin-arm64platform: darwin-arm64ext: ""+ archive: tar.gz- target: bun-darwin-x64platform: darwin-amd64ext: ""+ archive: tar.gz- target: bun-linux-x64platform: linux-amd64ext: ""+ archive: tar.gz- target: bun-linux-arm64platform: linux-arm64ext: ""+ archive: tar.gz- target: bun-windows-x64platform: windows-amd64ext: .exe+ archive: zip- target: bun-windows-arm64platform: windows-arm64ext: .exe+ archive: zipsteps:- uses: actions/checkout@v5- uses: oven-sh/setup-bun@v2@@ -54,14 +60,18 @@ jobs:--outfile dist/${BIN_NAME}${{ matrix.ext }}- name: Packagerun: |- archive="${BIN_NAME}-${{ matrix.platform }}.tar.gz"- tar -C dist -czf "$archive" ${BIN_NAME}${{ matrix.ext }}+ archive="${BIN_NAME}-${{ matrix.platform }}.${{ matrix.archive }}"+ if [[ "${{ matrix.archive }}" == "zip" ]]; then+ (cd dist && zip "../$archive" ${BIN_NAME}${{ matrix.ext }})+ else+ tar -C dist -czf "$archive" ${BIN_NAME}${{ matrix.ext }}+ fishasum -a 256 "$archive" > "${BIN_NAME}-${{ matrix.platform }}.sha256"- uses: actions/upload-artifact@v5with:name: ${{ matrix.platform }}path: |- ${{ env.BIN_NAME }}-${{ matrix.platform }}.tar.gz+ ${{ env.BIN_NAME }}-${{ matrix.platform }}.${{ matrix.archive }}${{ env.BIN_NAME }}-${{ matrix.platform }}.sha256smoke-windows:@@ -73,7 +83,7 @@ jobs:name: windows-amd64- shell: pwshrun: |- tar -xzf claude-code-proxy-windows-amd64.tar.gz+ Expand-Archive claude-code-proxy-windows-amd64.zip -DestinationPath ..\claude-code-proxy.exe --versionrelease:@@ -91,6 +101,7 @@ jobs:generate_release_notes: truefiles: |*.tar.gz+ *.zip*.sha256update-tap:diff --git a/README.md b/README.mdindex d83cb24..904e298 100644--- a/README.md+++ b/README.md@@ -39,8 +39,8 @@ curl -fsSL https://raw.githubusercontent.com/raine/claude-code-proxy/main/script**Manual:** download a prebuilt binary for your platform from the[releases page](https://github.com/raine/claude-code-proxy/releases). Windows-artifacts are published as `claude-code-proxy-windows-amd64.tar.gz` and-`claude-code-proxy-windows-arm64.tar.gz`; extract the `.exe` somewhere on your+artifacts are published as `claude-code-proxy-windows-amd64.zip` and+`claude-code-proxy-windows-arm64.zip`; extract the `.exe` somewhere on your`PATH`.### 2. Pick a provider and authenticate