mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Support for building different arch's such as Rpi / Arm #105
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Hecatron on GitHub (Jan 11, 2018).
Originally assigned to: @robertmuehsig on GitHub.
Hi,
I've been experimenting to see if I can get the demo app to build then run on a Rpi with ubuntu mate installed (17.10), I've managed to get it working.
But I'd like to request if we could specify different arch's in the options / arguments to electronize build though to make it easier
I've included some info below for anyone that wants to have a go.
Build for Linux X64
First run electron build for linux-x64
Build for Linux arm
Next run dotnet publish specifying the arm arch
Next copy over the api directory / main.js / package.json
Next run npm
Finally manually generate the package
Deploying to the Rpi
Setting up on the Rpi
If you get an error regarding MIT-MAGIC-COOKIE-1 then just try
If this has been built under windows instead of Linux
Then once you've unzipped the contents onto the rpi box you need to make ElectronNET.Host executable. But there's also other files that need to be made executable as well (not exactly sure which ones) to avoid other random errors.
To get around this cd into the directory where you've extracted the files and just make everything executable as a quick workaround
At this point you should be able to run with just
I would add this to the wiki but I don't think it's open for public access