GithubHelp home page GithubHelp logo

Raspberry Pi Support about deskreen HOT 14 OPEN

pavlobu avatar pavlobu commented on May 18, 2024 3
Raspberry Pi Support

from deskreen.

Comments (14)

NoozAbooz avatar NoozAbooz commented on May 18, 2024 2

Alright, here's the compiled appimage. Uploaded it to Discord since it was the most convenient 😆.
https://cdn.discordapp.com/attachments/769219853219004456/803673926554484736/Deskreen-1.0.1-armv7l.AppImage.zip

from deskreen.

NoozAbooz avatar NoozAbooz commented on May 18, 2024 1

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?

from deskreen.

cycool29 avatar cycool29 commented on May 18, 2024 1

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. 😁

from deskreen.

pavlobu avatar pavlobu commented on May 18, 2024

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,
Paul

from deskreen.

pavlobu avatar pavlobu commented on May 18, 2024

looks like there is an option to build on arm using CircleCI:
https://circleci.com/docs/2.0/example-configs/
https://github.com/electron/electron/blob/master/.circleci/config.yml

from deskreen.

NoozAbooz avatar NoozAbooz commented on May 18, 2024

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,
Paul

So when I ran it directly, it worked. I tried building it but it said "unsupported arch arm"

from deskreen.

pavlobu avatar pavlobu commented on May 18, 2024

I just used the compiling instructions to run deskreen on my Raspberry Pi

did you compile it on your RPI or just ran an .Appimage downloaded from releases?

from deskreen.

pavlobu avatar pavlobu commented on May 18, 2024

I found that we can actually cross compile electron app for arm on amd platforms! Hope it will work:
https://www.electronjs.org/docs/development/build-instructions-linux#cross-compilation

from deskreen.

NoozAbooz avatar NoozAbooz commented on May 18, 2024

I just used the compiling instructions to run deskreen on my Raspberry Pi

did you compile it on your RPI or just ran an .Appimage downloaded from releases?

Oh sorry, I meant that I ran yarn start, I didn't compile it.

from deskreen.

pavlobu avatar pavlobu commented on May 18, 2024

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

from deskreen.

pavlobu avatar pavlobu commented on May 18, 2024

here:
electron-userland/electron-builder#4279 (comment)

try adding the arm flag to electron-builder command in package.json in this line:

"package": "yarn build && electron-builder build --publish never",

should look like this
"package": "yarn build && electron-builder build --armv7l --publish never",

from deskreen.

pavlobu avatar pavlobu commented on May 18, 2024

then run:
yarn package
and it will output compiled binaries to ./release

from deskreen.

pavlobu avatar pavlobu commented on May 18, 2024

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

from deskreen.

EDIflyer avatar EDIflyer commented on May 18, 2024

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?

from deskreen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.