Fix/add x86 macos (#11)

This commit is contained in:
Haze
2026-02-09 15:38:29 +08:00
committed by GitHub
Unverified
parent ca71ef9b9b
commit 93caeedd12
2 changed files with 63 additions and 6 deletions

View File

@@ -94,6 +94,15 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm run package:linux run: pnpm run package:linux
- name: List build artifacts
shell: bash
run: |
echo "=== Build artifacts in release/ folder ==="
ls -lh release/ || echo "No release folder found"
echo ""
echo "=== File types generated ==="
find release/ -type f -exec file {} \; || true
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
@@ -104,6 +113,7 @@ jobs:
release/*.exe release/*.exe
release/*.AppImage release/*.AppImage
release/*.deb release/*.deb
release/*.rpm
release/*.yml release/*.yml
release/*.yaml release/*.yaml
retention-days: 7 retention-days: 7
@@ -121,11 +131,16 @@ jobs:
with: with:
path: release-artifacts path: release-artifacts
- name: List artifacts - name: List all downloaded artifacts
run: ls -la release-artifacts/ run: |
echo "=== All artifacts downloaded ==="
find release-artifacts/ -type f -exec ls -lh {} \;
echo ""
echo "=== File tree ==="
tree release-artifacts/ || find release-artifacts/ -print
- name: Create GitHub Release - name: Create GitHub Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
files: | files: |
@@ -134,10 +149,49 @@ jobs:
release-artifacts/**/*.exe release-artifacts/**/*.exe
release-artifacts/**/*.AppImage release-artifacts/**/*.AppImage
release-artifacts/**/*.deb release-artifacts/**/*.deb
release-artifacts/**/*.rpm
release-artifacts/**/*.yml release-artifacts/**/*.yml
release-artifacts/**/*.yaml release-artifacts/**/*.yaml
release-artifacts/**/*-blockmap
draft: false draft: false
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }} prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
generate_release_notes: true generate_release_notes: true
body: |
## 🚀 ClawX ${{ github.ref_name }}
ClawX - Graphical AI Assistant based on OpenClaw
### 📦 Downloads
Please select the appropriate installer for your operating system and architecture:
#### macOS
- **Apple Silicon (M1/M2/M3/M4)**: `ClawX-*-darwin-arm64.dmg`
- **Intel (x64)**: `ClawX-*-darwin-x64.dmg`
#### Windows
- **Installer (x64)**: `ClawX-*-win-x64.exe`
- **Installer (ARM64)**: `ClawX-*-win-arm64.exe`
#### Linux
- **AppImage (x64)**: `ClawX-*-linux-x64.AppImage` (Universal format, recommended)
- **AppImage (ARM64)**: `ClawX-*-linux-arm64.AppImage`
- **Debian/Ubuntu (x64)**: `ClawX-*-linux-x64.deb`
- **Debian/Ubuntu (ARM64)**: `ClawX-*-linux-arm64.deb`
- **RPM (x64)**: `ClawX-*-linux-x64.rpm`
### 📝 Release Notes
See the auto-generated release notes below for detailed changes.
### ⚠️ Installation Notes
- **macOS**: On first launch, you may see "cannot verify developer". Go to System Preferences → Security & Privacy to allow the app to run
- **Windows**: SmartScreen may block the app. Click "More info" → "Run anyway" to proceed
- **Linux**: AppImage requires executable permission: `chmod +x ClawX-*.AppImage`
---
💬 Found an issue? Please submit an [Issue](https://github.com/${{ github.repository }}/issues)
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -35,8 +35,8 @@ asarUnpack:
# Auto-update configuration # Auto-update configuration
publish: publish:
- provider: github - provider: github
owner: clawx owner: ValueCell-ai
repo: clawx repo: ClawX
releaseType: release releaseType: release
# macOS Configuration # macOS Configuration
@@ -48,7 +48,9 @@ mac:
icon: resources/icons/icon.icns icon: resources/icons/icon.icns
target: target:
- target: dmg - target: dmg
- target: zip arch:
- x64
- arm64
darkModeSupport: true darkModeSupport: true
hardenedRuntime: true hardenedRuntime: true
gatekeeperAssess: false gatekeeperAssess: false
@@ -85,6 +87,7 @@ win:
- target: nsis - target: nsis
arch: arch:
- x64 - x64
- arm64
nsis: nsis:
oneClick: false oneClick: false