You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bun script/merge-electron-updater-yml.ts artifacts release "${{ needs.fetch-version.outputs.version }}"
656
+
465
657
required=(
466
658
opencode-linux-x64
467
659
opencode-linux-x64-baseline
@@ -470,6 +662,10 @@ jobs:
470
662
opencode-darwin-arm64
471
663
opencode-darwin-x64
472
664
opencode-windows-x64.exe
665
+
latest.yml
666
+
latest-mac.yml
667
+
latest-linux.yml
668
+
latest-linux-arm64.yml
473
669
)
474
670
missing=0
475
671
for file in "${required[@]}"; do
@@ -482,6 +678,13 @@ jobs:
482
678
exit 1
483
679
fi
484
680
681
+
for glob in "*.dmg" "*.zip" "*.exe" "*.AppImage" "*.deb"; do
682
+
if ! compgen -G "release/$glob" >/dev/null; then
683
+
echo "::error::Required Electron release file matching $glob is missing"
684
+
exit 1
685
+
fi
686
+
done
687
+
485
688
chmod +x release/opencode-* 2>/dev/null || true
486
689
echo ""
487
690
echo "Final release files:"
@@ -521,6 +724,26 @@ jobs:
521
724
| macOS | Intel | `opencode-darwin-x64` |
522
725
| Windows | x64 | `opencode-windows-x64.exe` |
523
726
727
+
### Desktop Downloads (Electron)
728
+
729
+
| Platform | Architecture | Files |
730
+
|----------|--------------|-------|
731
+
| macOS | Apple Silicon | `.dmg` / `.zip` |
732
+
| macOS | Intel | `.dmg` / `.zip` |
733
+
| Windows | x64 | `.exe` |
734
+
| Linux | x64 | `.AppImage` / `.deb` / `.rpm` |
735
+
| Linux | ARM64 | `.AppImage` / `.deb` / `.rpm` |
736
+
737
+
Desktop artifacts use the upstream Electron build flow. They are unsigned because this fork has no Apple or Windows signing credentials. The updater metadata (`latest*.yml`) is generated for this repository, not upstream OpenCode.
738
+
739
+
#### macOS: Running an unsigned app
740
+
741
+
After moving the app to `/Applications`, remove the quarantine attribute if macOS blocks it:
Copy file name to clipboardExpand all lines: README.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,21 @@ The release fails closed unless all of these checks pass:
101
101
102
102
## Installation
103
103
104
-
Current CI releases contain cross-platform CLI binaries only.
104
+
### Desktop App (Electron)
105
+
106
+
CI follows the current upstream Electron packaging flow and releases desktop artifacts for macOS, Windows, and Linux. The generated Electron updater metadata targets this repository, so a desktop installation does not switch back to upstream OpenCode for updates.
| macOS Apple Silicon / Intel | `.dmg` and `.zip` |
111
+
| Windows x64 | NSIS `.exe` |
112
+
| Linux x64 / ARM64 | `.AppImage`, `.deb`, and `.rpm` |
113
+
114
+
The desktop artifacts are unsigned because this fork has no Apple or Windows signing credentials. On macOS, after copying the app to Applications, remove quarantine if Gatekeeper blocks it:
0 commit comments