Fix auto-update structure and macOS manifest URL

- 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 <noreply@anthropic.com>
This commit is contained in:
Jan-Henrik Bruhn 2025-12-11 13:22:38 +01:00
parent 6a53f86aea
commit e28761f127
2 changed files with 15 additions and 2 deletions

View file

@ -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

View file

@ -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"
}
},
{