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

The documentation only describes how to view it in the dev environment, but how to package it into an application? #2

Open
augustVino opened this issue Sep 19, 2024 · 2 comments

Comments

@augustVino
Copy link

augustVino commented Sep 19, 2024

I don't know about Cargo in Rust. The documentation only describes how to view it in a dev environment, but how to package it into an application?

@thomastschurtschenthaler
Copy link
Owner

In the current state of electrico - only few basic electron/node apis are implemented - it is unlikely your electron app will work out of the box with - though it might:)
Thus I did not include any packaging for various systems yet.
In order to try electrico on your machine you need to install rustup/rust: https://www.rust-lang.org/learn/get-started
I recommend using it with VSCode IDE https://code.visualstudio.com with all the nice rust extension installed - esp. rust analyzer.
You may use https://github.com/burtonageo/cargo-bundle to build an electrico app boundle for macos, windows or linux.
Electrico will look for the apps package.json in the Resources-Folder in the directory of the electrico executable.

@augustVino
Copy link
Author

Thank you very much and look forward to the early completion of the Electrico ~

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