Open hellpe opened 4 years ago
We're using electron-builder to generate Linux builds, curious if this is just a setting. I would favor hosting whatever installed on GitHub--don't really want to mess around with things like package managers or app stores (though I am happy to help people who do want to shepherd that).
If I'm understanding this ticket correctly, there is no setting for generating Flatpaks in electron-builder yet.
There's a PKGBUILD available in the AUR for Arch Linux. Works perfectly fine, and that's what I've been using. https://aur.archlinux.org/packages/twinejs-standalone/
@hellpe does that get at what you're looking for? Not familiar with any of this except a very high level, so I'm not sure.
@klembot an AUR PKGBUILD is helpful for advanced Arch users, but this is not a user-friendly way of installing software, and of course it only works on Arch-based distros, whereas Flatpaks can be installed on most of the popular distros, and have other advantages such as sandboxing.
The relevant ticket for electron-builder seems to be this one (the one I've previously linked is probably a duplicate).
We're using electron-builder to generate Linux builds, curious if this is just a setting. I would favor hosting whatever installed on GitHub--don't really want to mess around with things like package managers or app stores (though I am happy to help people who do want to shepherd that).
@klembot If this is the case, please consider using AppImages instead. It is also compatible on most distros. However, you can host it on GitHub and it is much 'cleaner' than providing a .zip file.
I added a PR for flathub: https://github.com/flathub/flathub/pull/2615
If this goes through, it should be available for everyone :)
We are currently just waiting for an approval of @klembot that it's fine to package this app for Flathub. And I'll provide the metadata file and desktop file here so it can be maintained better/more correct. :)
To put it roughly, there are two ways to easily install an app on Linux: either use the package provided by your distro, or use a solution provided by the app developers themselves, such as Flatpak. Unfortunately, my distro (Arch Linux) does not provide a package for Twine, neither does Ubuntu.
That's why I think a good solution would be to provide a Flatpak package upstream, and host it either on the Twine website or on Flathub. The official documentation has a guide to build Flatpaks from Electron apps that may be suited to Twine.