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

Add RPM package or Flatpak #175

Open
Linux-Is-Best opened this issue Nov 10, 2024 · 9 comments
Open

Add RPM package or Flatpak #175

Linux-Is-Best opened this issue Nov 10, 2024 · 9 comments

Comments

@Linux-Is-Best
Copy link

It would be great if there was either an RPM package (Fedora, openSUSE), or as an alternative, a Flatpak. The benefit of a flatpak would be it could run on both RPM or DEB based system. A lot of Linux developers tend to go the flatpak route for that reason.

My reasoning for this request is a lot of folks, I know, have been moving away from Debian-based Linux distributions (disclosure, myself, included). But would like to use your download manager.

Either solution would be great.

@amir1376
Copy link
Owner

why you are not using the installation script ?

@amanullahmenjli
Copy link

why you are not using the installation script ?

One of the main advantages of using Linux distros is having all installed programs managed by a package manager (or two if you use flatpak too) which facilitates keeping everything organized and regularly updated.

@amir1376
Copy link
Owner

amir1376 commented Nov 10, 2024

I'm planning to add an auto update feature to the app (which you may saw that in apps like discord postman etc...)
for this to work I need to have write access to the installation directory because of that I may not be able to add rpm package and remove the deb package too.
instead we can improve that installation script until then

@amanullahmenjli
Copy link

I think making auto updates optional and allowing the app to be available at least of flathub would be a better solution for linux users.
I personally don't like when apps try to manage their own updates and prefer to let that job for my package manager or for flatpak.

@amanullahmenjli
Copy link

If you don't want to publish it yourself for flathub would it be fine if I do it as a contributor so it can be labeled as officially published by the app devs on flathub?

@amir1376
Copy link
Owner

I think making auto updates optional and allowing the app to be available at least of flathub would be a better solution for linux users. I personally don't like when apps try to manage their own updates and prefer to let that job for my package manager or for flatpak.

Of course I will make this optional. you can manually upgrade it using a script.

Unfortunately I don't know much about the flathub you mentioned.
and I don't know if it may causes problem later or not.

For example
I plan to add Native Messaging feature later to allow browsers to wake up the app when its not running.
this feature needs an executable inside the app's directory (which I know that AppImage does not support this thing)

@amanullahmenjli
Copy link

Of course I will make this optional. you can manually upgrade it using a script.

That's great to hear.

Unfortunately I don't know much about the flathub you mentioned. and I don't know if it may causes problem later or not.

Flathub is a store or repository that flatpak users can get software from. I'm not sure if flatpak can cause issues or not but I'll try to build this project on my machine with flatpak and see if it can cause any issues then report how it goes here.

For example I plan to add Native Messaging feature later to allow browsers to wake up the app when its not running. this feature needs an executable inside the app's directory (which I know that AppImage does not support this thing)

Can you tell me more about how this feature is going to work?

@amir1376
Copy link
Owner

Can you tell me more about how this feature is going to work?

You can read more about Native Messaging here

but in short it requires a file to be exists in installation folder and browser can execute it for communication.
for example

───app
    \───bin
     |    \───ABDownloadManager (for now we have only this)
     |    \───ABDownloadManager_NativeMassagingHost
     |    \─── ....
     \...

app (and external apps like browsers) requires to have at least read only access to its installation directory. if its converted to a single executable binary (AppImage) then it may not support some features later.

@sabamdarif
Copy link

why you are not using the installation script ?

yes the installer is ok but the problem is this depend on the our system library form that sometime it failed to launch like the the newer version i have crash issue the app don't launch for me anymore like this :- #364 sure it because i might messed up something on my system, so if we have flatpak it will never happen and no need for any extra distro specific packaging also it will be easy to update,

for the auto update option if it's linux (flatpak) it will only show the notification else for for other system it show update also there will be update now button (which will be not for linux/flatpak).

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

4 participants