-
-
Notifications
You must be signed in to change notification settings - Fork 353
Document existing ARM64 build support for Raspberry Pi 5 #932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
- Add detailed comments in package.ts clarifying ARM64 support for Raspberry Pi 5 - Add console logging to show which architectures are being built - Update README with platform support section mentioning ARM64/Raspberry Pi 5 - Clarify that ARM64 builds are generated for both AppImage and Deb packages Co-authored-by: thomasnordquist <[email protected]>
package.ts
Outdated
| if (options.x64) architectures.push('x64') | ||
| if (options.arm64) architectures.push('arm64') | ||
| if (options.armv7l) architectures.push('armv7l') | ||
| if (options.ia32) architectures.push('ia32') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot remove ia32 and armv7l
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Removed ia32 and armv7l from the architecture logging. The logging now only shows x64 and arm64. (d4a7d3d)
As requested by @thomasnordquist, simplified the logging to only show x64 and arm64 architectures. Co-authored-by: thomasnordquist <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR documents the existing ARM64 build support for Raspberry Pi 5 that was already configured in electron-builder but not documented. The changes add a platform support matrix to the README and improve build logging to show which architectures are being targeted.
- Added platform support documentation to README with architecture matrix
- Enhanced build logging to display target architectures during the build process
- Added inline comments clarifying that ARM64 support is for Raspberry Pi 5
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Readme.md | Added new "Platform Support" section documenting Windows, macOS, and Linux architecture support including ARM64 for Raspberry Pi 5 |
| package.ts | Added comments explaining ARM64 is for Raspberry Pi 5, added console logging to show architectures being built for each package format |
| // Log architectures being built | ||
| const architectures = [] | ||
| if (options.x64) architectures.push('x64') | ||
| if (options.arm64) architectures.push('arm64') |
Copilot
AI
Dec 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logging code only captures x64 and arm64 architectures, but the actual build configurations include armv7l as well. The log output will be incomplete and won't show that armv7l is being built for AppImage and Deb packages. Consider adding armv7l to the architectures array to provide accurate build information.
| if (options.arm64) architectures.push('arm64') | |
| if (options.arm64) architectures.push('arm64') | |
| if (options.armv7l) architectures.push('armv7l') |
| - **Windows**: x64 | ||
| - **macOS**: x64 (Intel) and ARM64 (Apple Silicon) | ||
| - **Linux**: x64, ARM64 (Raspberry Pi 5), and ARMv7l (Raspberry Pi 4 and older) | ||
| - Available formats: AppImage, Deb, Snap |
Copilot
AI
Dec 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README states that Snap format is available for all Linux architectures (x64, ARM64, ARMv7l), but the linuxSnap configuration in package.ts explicitly has arm64: false and armv7l: false. The Snap package is only built for x64. The README should clarify which formats are available for which architectures, for example: "AppImage and Deb: x64, ARM64, ARMv7l; Snap: x64 only".
| - Available formats: AppImage, Deb, Snap | |
| - Available formats: AppImage (x64, ARM64, ARMv7l), Deb (x64, ARM64, ARMv7l), Snap (x64 only) |
| await buildWithOptions(winAppx, { platform: 'win', package: 'appx' }) | ||
| break | ||
| case 'linux': | ||
| console.log('Building Linux packages for architectures: x64, arm64 (Raspberry Pi 5), armv7l') |
Copilot
AI
Dec 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This console.log statement claims to build for "x64, arm64 (Raspberry Pi 5), armv7l", but when the actual buildWithOptions calls execute, the new logging code (lines 113-117) will only show x64 and arm64. This creates inconsistent and potentially confusing output. Either remove this summary log or update the detailed logging below to include armv7l.
| console.log('Building Linux packages for architectures: x64, arm64 (Raspberry Pi 5), armv7l') | |
| console.log('Building Linux packages (see individual build logs for architectures)') |
Reduce sleep duration before starting MQTT Explorer.
🎬 Demo Video GeneratedFull Video📥 Download Full Video (MP4) | GIF 📑 Video SegmentsClick to expand segmentsVideos will expire in 90 days. |
🎬 Demo Video GeneratedFull Video📥 Download Full Video (MP4) | GIF 📑 Video SegmentsClick to expand segmentsVideos will expire in 90 days. |






















ARM64 builds for Raspberry Pi 5 were already being generated via electron-builder cross-compilation but were undocumented. Users requesting ARM64 support were unaware these artifacts existed in releases.
Changes
package.tsmarking ARM64 flags for Raspberry Pi 5Build Output
When
yarn package linuxruns, it now logs:Generates release artifacts:
MQTT-Explorer<version>-arm64.AppImageMQTT-Explorer_<version>_arm64.debNo changes to build configuration or CI workflow - ARM64 cross-compilation was already functional.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.