From e28761f12799685b822002a657ccfdcc6a4b9716 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Thu, 11 Dec 2025 13:22:38 +0100 Subject: [PATCH] Fix auto-update structure and macOS manifest URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Organize files in correct directory structure for auto-updater - Windows files → update/win32/x64/ - macOS files → update/darwin/arm64/ (ZIP + RELEASES.json only) - Fix macOS update manifest URL from x64 to arm64 - Exclude Linux packages and macOS DMG (not used for auto-updates) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/release.yml | 15 ++++++++++++++- forge.config.js | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 51fa7db..9ca7c11 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -115,7 +115,20 @@ jobs: - name: Download all artifacts uses: actions/download-artifact@v4 with: - path: update + path: artifacts + + - name: Organize files for auto-update + run: | + # Create update directory structure + mkdir -p update/win32/x64 + mkdir -p update/darwin/arm64 + + # Copy Windows auto-update files + cp artifacts/windows-artifacts/* update/win32/x64/ + + # Copy macOS auto-update files (only ZIP and RELEASES.json, not DMG) + cp artifacts/macos-artifacts/zip/darwin/arm64/*.zip update/darwin/arm64/ + cp artifacts/macos-artifacts/zip/darwin/arm64/RELEASES.json update/darwin/arm64/ - name: Setup Pages uses: actions/configure-pages@v4 diff --git a/forge.config.js b/forge.config.js index 434402f..a645d1d 100644 --- a/forge.config.js +++ b/forge.config.js @@ -17,7 +17,7 @@ module.exports = { name: '@electron-forge/maker-zip', platforms: ['darwin'], config: { - macUpdateManifestBaseUrl: "https://jhbruhn.github.io/respira/update/darwin/x64" + macUpdateManifestBaseUrl: "https://jhbruhn.github.io/respira/update/darwin/arm64" } }, {