#Updater for deb format in Linux

23 messages ยท Page 1 of 1 (latest)

bright current
#

Currenly tauri supports updater for Linux only for AppImage.
But AppImage works completly different from what tauri tried to achieve - it bundle everything into it and it makes it very heavy.
Also, AppImage doesn't work in some cases compared to deb which works pretty good even on multiple distros and even on arch based.

I think that it will be cool if tauri can support updater for deb in such a way that it will download the new deb file, request for password, exit, update, and relaunch ๐Ÿ™‚

slender quiver
# bright current Currenly tauri supports updater for `Linux` only for `AppImage`. But `AppImage` ...

The thing is just that the .deb format is intended to be distributed using actual Debian customs, by e.g. uploading it to a PPA, so your users run sudo apt update && sudo apt upgrade -y to update the app, so a Tauri updater for .deb should really just be checking if there's an update then inform the user that they should apt upgrade to get it

It's possible for Tauri to download a new .deb file ofc, but requesting sudo on Linux is weird, especially since gksu was deprecated. Not sure how it could be handled in a way that's satisfying, or at least not as satisfying for the end users as just running apt upgrade

bright current
slim siren
#

Any ideas what "other formats" there are?

#

deb rpm pacman flatpak (via flathub) and afaik snap too all assume to be updated externally

#

and in the case of deb rpm and pacman also require sudo to do so

#

of course i'd love to see a more modular update approach where it doesn't depend on installers (similar to discord i guess) but i don't see that happening anytime soon if at all

bright current
slim siren
#

i don't think that's reallyyyy reliable, is it?

bright current
slim siren
#

also, this feels so not linux-y ๐Ÿ˜…

bright current
bright current
slim siren
bright current
slender quiver
#

It's no longer preinstalled, so using it would be another dependency to add

slim siren
slim siren
#

it was replaced by policykit right?

slender quiver
#

I think so yea

#

Reliably asking for sudo permission to execute a .deb installation I think is currently only really available by opening a shady terminal window with the command prefilled, or something like that, which is super shady and not at all professional looking. And just downloading the .deb then instructing the user to install it is also not a good idea

Fundamentally .deb packages aren't meant to be auto updated, even if we figure out a way to pull it off it'd be to explicitly go against how they are intended to be used