-
-
Notifications
You must be signed in to change notification settings - Fork 885
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
Raspberry Pi Support #59
Comments
This is awesome news! Github workflows, as far as I know, does not support build on arm platforms yet. But we can connect amazon ec2 instance just for that purpose. Do you know if they have a "no charge and free to use" program to do frequent arm builds for open source projects? If so I'll be working on setting up this pipeline in future. Right now you can upload your build to some repo so the others can benefit from your build. Cheers, |
looks like there is an option to build on arm using CircleCI: |
So when I ran it directly, it worked. I tried building it but it said "unsupported arch arm" |
did you compile it on your RPI or just ran an .Appimage downloaded from releases? |
I found that we can actually cross compile electron app for arm on amd platforms! Hope it will work: |
Oh sorry, I meant that I ran |
oh I see I compiled it once on my raspberry pi and I had to specify one flag in electron builder in package.json Let me find it. With that flag no issue with arm platform will be and it will package it |
here: try adding the arm flag to electron-builder command in package.json in this line: Line 28 in 14a804e
should look like this "package": "yarn build && electron-builder build --armv7l --publish never", |
then run: |
Alright, here's the compiled appimage. Uploaded it to Discord since it was the most convenient 😆. |
Also, I'm a co-dev on pi-apps, a app store for open source raspberry pi apps. Could I add this amazing piece of software to it? |
Sure you can add it there! Can you share the instructions on how to upload binaries and updates of binaries there? I'll later include this upload to release.yml github workflow so it will be pushed there automatically |
I think you won't need to set up workflow to do so. Just push out releases and pi-apps dev will update the link in the scripts. 😁 |
Amazing app @pavlobu - thanks so much for developing it! Also great to have this in pi-apps (@NoozSBC 😀). I see it's still v1.0.1, any chance of updating to 2.0.3? |
As you mentioned on the website, you said you'd like Raspberry Pi support. I just used the compiling instructions to run deskreen on my Raspberry Pi, and it ran without a hitch. I was testing on my pi's browser window, but it did properly capture and display my pi's screen. I think if you directly built this for armv7l, then it would work perfectly.
![Screenshot_2021-01-26_09-26-08](https://user-images.githubusercontent.com/44128563/105873301-926a6700-5fb8-11eb-9391-bb63213960f4.png)
The text was updated successfully, but these errors were encountered: