Skip to content
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

Flatpak support #1

Open
jbtrystram opened this issue Feb 28, 2024 · 3 comments
Open

Flatpak support #1

jbtrystram opened this issue Feb 28, 2024 · 3 comments
Assignees

Comments

@jbtrystram
Copy link

jbtrystram commented Feb 28, 2024

Consider shipping a flatpak as well for linux users :)

I might try to do that as a PR if i can't get the original tool work through wine/proton

@andrey-pr
Copy link
Owner

Its good idea. As far as I know, I should just simply add "flatpack" target to electron-builder configuration. I'll try on this week

@andrey-pr
Copy link
Owner

I'm adding support of flatpak in separate branch, now its buildable, but I have problem with access ti serial ports

(node:3) UnhandledPromiseRejectionWarning: Error: spawn udevadm ENOENT
    at Process.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
(node:3) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)

There are not too much articles about serial ports in flatpak; @jbtrystram do you have any experience with it?

@andrey-pr andrey-pr self-assigned this Mar 1, 2024
@jbtrystram
Copy link
Author

there is a --device flag when launching the flatpak I think, but i don't know too much about that sorry. Maybe look into the people that use flatpaks IDEs to program arduinos and ESPs ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants