Skip to content

Commit 93caeed

Browse files
authored
Fix/add x86 macos (#11)
1 parent ca71ef9 commit 93caeed

File tree

2 files changed

+63
-6
lines changed

2 files changed

+63
-6
lines changed

.github/workflows/release.yml

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,15 @@ jobs:
9494
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9595
run: pnpm run package:linux
9696

97+
- name: List build artifacts
98+
shell: bash
99+
run: |
100+
echo "=== Build artifacts in release/ folder ==="
101+
ls -lh release/ || echo "No release folder found"
102+
echo ""
103+
echo "=== File types generated ==="
104+
find release/ -type f -exec file {} \; || true
105+
97106
- name: Upload artifacts
98107
uses: actions/upload-artifact@v4
99108
with:
@@ -104,6 +113,7 @@ jobs:
104113
release/*.exe
105114
release/*.AppImage
106115
release/*.deb
116+
release/*.rpm
107117
release/*.yml
108118
release/*.yaml
109119
retention-days: 7
@@ -121,11 +131,16 @@ jobs:
121131
with:
122132
path: release-artifacts
123133

124-
- name: List artifacts
125-
run: ls -la release-artifacts/
134+
- name: List all downloaded artifacts
135+
run: |
136+
echo "=== All artifacts downloaded ==="
137+
find release-artifacts/ -type f -exec ls -lh {} \;
138+
echo ""
139+
echo "=== File tree ==="
140+
tree release-artifacts/ || find release-artifacts/ -print
126141
127142
- name: Create GitHub Release
128-
uses: softprops/action-gh-release@v1
143+
uses: softprops/action-gh-release@v2
129144
if: startsWith(github.ref, 'refs/tags/')
130145
with:
131146
files: |
@@ -134,10 +149,49 @@ jobs:
134149
release-artifacts/**/*.exe
135150
release-artifacts/**/*.AppImage
136151
release-artifacts/**/*.deb
152+
release-artifacts/**/*.rpm
137153
release-artifacts/**/*.yml
138154
release-artifacts/**/*.yaml
155+
release-artifacts/**/*-blockmap
139156
draft: false
140157
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
141158
generate_release_notes: true
159+
body: |
160+
## 🚀 ClawX ${{ github.ref_name }}
161+
162+
ClawX - Graphical AI Assistant based on OpenClaw
163+
164+
### 📦 Downloads
165+
166+
Please select the appropriate installer for your operating system and architecture:
167+
168+
#### macOS
169+
- **Apple Silicon (M1/M2/M3/M4)**: `ClawX-*-darwin-arm64.dmg`
170+
- **Intel (x64)**: `ClawX-*-darwin-x64.dmg`
171+
172+
#### Windows
173+
- **Installer (x64)**: `ClawX-*-win-x64.exe`
174+
- **Installer (ARM64)**: `ClawX-*-win-arm64.exe`
175+
176+
#### Linux
177+
- **AppImage (x64)**: `ClawX-*-linux-x64.AppImage` (Universal format, recommended)
178+
- **AppImage (ARM64)**: `ClawX-*-linux-arm64.AppImage`
179+
- **Debian/Ubuntu (x64)**: `ClawX-*-linux-x64.deb`
180+
- **Debian/Ubuntu (ARM64)**: `ClawX-*-linux-arm64.deb`
181+
- **RPM (x64)**: `ClawX-*-linux-x64.rpm`
182+
183+
### 📝 Release Notes
184+
185+
See the auto-generated release notes below for detailed changes.
186+
187+
### ⚠️ Installation Notes
188+
189+
- **macOS**: On first launch, you may see "cannot verify developer". Go to System Preferences → Security & Privacy to allow the app to run
190+
- **Windows**: SmartScreen may block the app. Click "More info" → "Run anyway" to proceed
191+
- **Linux**: AppImage requires executable permission: `chmod +x ClawX-*.AppImage`
192+
193+
---
194+
195+
💬 Found an issue? Please submit an [Issue](https://github.com/${{ github.repository }}/issues)
142196
env:
143197
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

electron-builder.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ asarUnpack:
3535
# Auto-update configuration
3636
publish:
3737
- provider: github
38-
owner: clawx
39-
repo: clawx
38+
owner: ValueCell-ai
39+
repo: ClawX
4040
releaseType: release
4141

4242
# macOS Configuration
@@ -48,7 +48,9 @@ mac:
4848
icon: resources/icons/icon.icns
4949
target:
5050
- target: dmg
51-
- target: zip
51+
arch:
52+
- x64
53+
- arm64
5254
darkModeSupport: true
5355
hardenedRuntime: true
5456
gatekeeperAssess: false
@@ -85,6 +87,7 @@ win:
8587
- target: nsis
8688
arch:
8789
- x64
90+
- arm64
8891

8992
nsis:
9093
oneClick: false

0 commit comments

Comments
 (0)