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

Better Linux Redistributive #175

Open
syt0r opened this issue Aug 8, 2024 · 5 comments
Open

Better Linux Redistributive #175

syt0r opened this issue Aug 8, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@syt0r
Copy link
Owner

syt0r commented Aug 8, 2024

Current jar format is not the best so I'm looking for options to improve it, I believe deb is not very nice too nowadays

I've tried to make snapcraft version some time ago but there were some issue with strict mode enabled, it's in the snap folder in the root of repository.

I'm considering other options too, I also heard about flatpak and AppImage, so if someone is familiar with linux ecosystem and can suggest/implement necessary stuff it would be really helpful

I'll provide additional info if needed

@syt0r syt0r added the help wanted Extra attention is needed label Aug 8, 2024
@syt0r syt0r pinned this issue Sep 11, 2024
@o-zig
Copy link

o-zig commented Sep 27, 2024

While the jar is usable, I think both flatpak and AppImage may be the best ways to support most Linux distros without having to package for a bunch of them specifically. snaps are, to my knowledge, still only used by Ubuntu and its forks.

I would also need to look into packaging, but I think flatpak and AppImage I could figure out with a reasonable amount of effort.

The other packaging formats I'm aware of are rather distribution-specific. While I would find supporting them interesting, it's also a problem of diminishing returns. The biggest formats that come to mind are snap, rpm and deb.

Also thanks for the awesome project.

@KennethOshiro
Copy link

KennethOshiro commented Sep 28, 2024

snaps are, to my knowledge, still only used by Ubuntu and its forks.

It is possible to use snap packages on non-Ubuntu distributions, according to the documentation. I've been trying to build the app using the snapcraft file, but there are indeed some issues that need to be ironed out before it can be released.

flatpak may be a good alternative, especially if we are able to publish the app onto something like FlatHub. Snapcraft also has Snap Store so it may be a good way to gain more users/contributors.

@o-zig
Copy link

o-zig commented Sep 29, 2024

Small question, @syt0r, do the Linux redistributables need network access?
Both flatpak and snap require/recommend configuring permissions and since they do not ship Firebase Analytics, I would assume not.

@syt0r
Copy link
Owner Author

syt0r commented Sep 29, 2024

A bit of info about what might be wrong with snap packaging: when you run Kanji Dojo's jar it automatically unpacks a dynamically linked library file packaged within into some folder in user's home directory so there might be not enough permissions to access and write there

@syt0r
Copy link
Owner Author

syt0r commented Sep 29, 2024

@o-zig there's actually a functionality to send feedbacks withing the app, and I plan to add more features with network in future so it would like to have network access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants