-
Notifications
You must be signed in to change notification settings - Fork 87
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 #341
Comments
Ping @LagoLunatic |
What benefit is there to using flatpak compared to downloading the executable release of the randomizer? (I don't know what docker is, either, so that comparison isn't doing anything for me.) |
With binary builds you have no guaranty that it works on every system. Depending which libraries (and which version the libraries) have, it may not work. PyInstaller, which are you using, has a section about this in the documentation.That's one of the reason Linux Distros typically build almost all Programs from source. With Flatpak, you don't have such a problem. Flatpak bundles everything needed. Apps in a Flatpak don't using anything outside their Flatpak. Flatpak Apps are guaranteed to always works exactly the same on every Distro. Flatpak is also intergrated in many Linux Distros by default. So Users can use the Tools of their Distro to manage Flatpak Apps (they can be installed/updated/removed through the Software Center of the Distro) instead of dealing with binaries. Flatpak also has a build-in permission System like e.g. Android or IOS. So Apps have only access to the resources they need. |
Fellow Linux user, this would be great if included |
I can look into adding Flatpak at some point, but for future reference: the Flatpak app will not be able to do non-spoiler-log races with other people since it won't have the proper encryption keys (same as if you run the randomizer from source). You have to use the binary executable for that. |
You could in fact bundle within flatpak your binary release without issue. A lot of application does just that. But for sure, there would need to be some experimenting on your side to make sure everything work. |
I created a Flatpak for wwrando. If you don't know about Flatpak, you can think of it like Docker but for the Linux Desktop. It bundles everything needed to run the Program in a Container. Flatpaks can also be published to Flathub.
These are the files needed to build the Flatpak:
io.github.LagoLunatic.wwrando
python3-modules.yaml
Here are instructions how to build
It works, but a little bit of work is needed to make it complete. Tell me, if you are interested.
The text was updated successfully, but these errors were encountered: