betacraftuk / betacraft-launcher

A launcher for Minecraft focused on legacy versions of the game
https://betacraft.uk
GNU General Public License v3.0
336 stars 40 forks source link

Shipping the application via Flatpak on Linux #319

Open Vulcalien opened 9 months ago

Vulcalien commented 9 months ago

Hi! I'm working on a flatpak manifest file that, if pushed to FlatHub, could allow Linux users to install the betacraft launcher via flatpak. This would be preferable to those (like me) who prefer installing applications through package managers, and also to somewhat sandbox the game.

I already managed to make Minecraft play, but there are still things to work out. Here's the file: uk.betacraft.BetaCraft.yml

I'm asking for feedback. If you agree to this, I can submit the flatpak to FlatHub under the name uk.betacraft.BetaCraft.

Test the flatpak

First install Java 8 by running flatpak install org.freedesktop.Sdk.Extension.openjdk8 and choosing the 23.08 version.\ Then, install the flatpak by running flatpak-builder --user --install --force-clean build-dir uk.betacraft.BetaCraft.yml.\ Finally, run the launcher with flatpak run uk.betacraft.BetaCraft

Vulcalien commented 9 months ago

Here's the current version of the flatpak manifest and related files. https://github.com/Vulcalien/uk.betacraft.BetaCraft Feel free to take over from here.

Vulcalien commented 9 months ago

I'm fairly certain the manifest is ready. All that's left to do is publishing it to FlatHub.

notdevcody commented 8 months ago

Might consider. If that's done, v2 should also be on flatpak.

totaltommygun commented 1 week ago

Would be awesome for users like me on a Steam Deck or any other Linux distribution that is immutable