#Check for Deb vs AppImage for updates
10 messages · Page 1 of 1 (latest)
the easiest way would be to check if the APPIMAGE env var is set on the rust side
Ah cool. Is this documented anywhere? What is the value?
that's part of the appimage standard (or at least the runtime we use does it) and it's the path to the appimage
btw the next version of the updater will be able to handle deb and rpm as well (assuming you don't ship them in distro repos)
Oooo that sounds great. Any chance macOS sandboxing will be supported too?
not any time soon
so currently for debs should we just detect and notify the user to get the new deb?
Yes. For the best end-user experience, you could set up a Debian package repository; it's a static file server. https://www.joshmcguigan.com/blog/host-debian-repo/
RPM is pretty simple: https://linuxconfig.org/how-to-create-a-custom-rpm-repository-on-linux