Skip to content

Commit

Permalink
feat(linux): arm64 support
Browse files Browse the repository at this point in the history
fix #76.
  • Loading branch information
gorillamoe committed Jan 14, 2025
1 parent 71aac18 commit 673017c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@
"build:unpack": "bun run build && electron-builder --dir",
"build:windows": "bun run build && electron-builder --win --publish never",
"build:macos": "bun run build && electron-builder --mac --publish never",
"build:linux": "bun run build && electron-builder --linux --publish never",
"build:linux:deb": "bun run build && electron-builder --linux deb --publish never",
"build:linux:appimage": "bun run build && electron-builder --linux appImage --publish never",
"build:linux:snap": "bun run build && electron-builder --linux snap --publish never",
"build:linux:flatpak": "bun run build && electron-builder --linux flatpak --publish never",
"build:linux": "bun run build && electron-builder --linux --publish never --x64 && electron-builder --linux --publish never --arm64",
"build:linux:deb:x64": "bun run build && electron-builder --linux deb --publish never --x64",
"build:linux:deb:arm64": "bun run build && electron-builder --linux deb --publish never --arm64",
"build:linux:appimage:x64": "bun run build && electron-builder --linux appImage --publish never --x64",
"build:linux:appimage:arm64": "bun run build && electron-builder --linux appImage --publish never --arm64",
"build:linux:snap:x64": "bun run build && electron-builder --linux snap --publish never --x64",
"build:linux:snap:arm64": "bun run build && electron-builder --linux snap --publish never --arm64",
"build:linux:flatpak:x64": "bun run build && electron-builder --linux flatpak --publish never --x64",
"build:linux:flatpak:arm64": "bun run build && electron-builder --linux flatpak --publish never --arm64",
"node:packages:update": "ncu -u",
"node:packaages:upgrade": "ncu -u && bun install"
},
Expand Down
4 changes: 4 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ FILES=()

LINUX_FILES=(
"dist/${BIN_NAME}_amd64.deb"
"dist/${BIN_NAME}_arm64.deb"
"dist/${BIN_NAME}_amd64.snap"
"dist/${BIN_NAME}_arm64.snap"
"dist/${BIN_NAME}_x86_64.AppImage"
"dist/${BIN_NAME}_arm64.AppImage"
"dist/${BIN_NAME}_x86_64.flatpak"
"dist/${BIN_NAME}_arm64.flatpak"
)

WINDOWS_FILES=(
Expand Down

0 comments on commit 673017c

Please sign in to comment.