3 ms·
This is the backend that is responsible for packaging the Mac and Windows builds. https://www.electron.build/configuration/linux https://www.electron.build/con
by semireg 8y ago
This is the backend that is responsible for packaging the Mac and Windows builds.
https://www.electron.build/configuration/linux https://www.electron.build/configuration/linux
As far as testing on the desktop - what would you consider a minimum test environment? Packaging is one thing ... but testing, that’s a whole other issue. Is it important to test on real hardware or is a VM good enough? Which desktop distros claim the most users? Asking these almost rhetorically, considering it’s my job to do the research. Any insights are greatly appreciated.
Tangentially, I’ve given some thought to supporting the RaspPi ecosystem because it’s ideal for a kiosk or bolt-on IOT print server.
- snazz 8y agoThat site says it’ll give you an AppImage or a Snap—I didn’t mention the AppImage format in my last post but it’s effectively like a DMG on macOS, so you just distribute the file and users only have to mark it as executable and run it. A VM is plenty for testing that your app starts and lets you design labels fine, but you’ll be in for a world of trouble if you try interface physical hardware (like the thermal printer) from one. You could always just make a live USB of a popular distro like Ubuntu or Fedora and download and test your app on real hardware—booting Linux on a recent Mac would be a challenge so you’d want to use an older one or PC hardware for running a live USB. Electron seems to support ARM, the processor architecture used by the RPi, so I would think you’d be good to go there aside from your app maybe being a little slow. You will want to talk to someone else too since I’m sure I’m forgetting something, particularly about the Raspberry Pi.