Skip to content

Commit

Permalink
Build for both chipset
Browse files Browse the repository at this point in the history
  • Loading branch information
SurajAdsul committed Feb 10, 2025
1 parent 32c0778 commit f8978e1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# List build output
- name: List build output
run: |
echo "Build output contents:"
ls -la release/
echo "DMG files:"
find release -name "*.dmg"
echo "ZIP files:"
find release -name "*.zip"
# Upload artifacts
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand All @@ -71,8 +81,10 @@ jobs:
- name: List files
run: |
pwd
ls -R
working-directory: release
echo "Release directory contents:"
ls -R release/
echo "Found files:"
find release -type f
- name: Create Release
uses: softprops/action-gh-release@v1
Expand Down
13 changes: 8 additions & 5 deletions ai-harvest-timesheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dev": "vite",
"build": "vite build",
"electron:build": "npm run build:mac",
"build:mac": "vite build && electron-builder --mac --config.mac.identity=null",
"build:mac": "vite build && electron-builder --mac --universal --config.mac.identity=null",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"type-check": "tsc --noEmit"
Expand All @@ -31,10 +31,13 @@
"publish": null,
"mac": {
"category": "public.app-category.productivity",
"target": [
"dmg",
"zip"
],
"target": {
"target": "default",
"arch": [
"arm64",
"x64"
]
},
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
Expand Down

0 comments on commit f8978e1

Please sign in to comment.