Update prompt on Linux

I finally managed to get the Flatpak to build with Pixi included in the bundle. It doesn’t find it in the path at the moment, but I’m sure I can make the work soon, and then I can put out the 1.102 Flatpak.

When checking out the test build, I was surprised to get a dialog pop up on start to tell me that a newer version is available and an offer to download it.

For the Flatpak, this doesn’t really make a lot of sense, as updates are handled by the Flatpak package manager, so it’s not possible to update Avogadro by downloading it from GitHub.

This would also apply for versions provided by distros via their package manager, which will often lag behind the current release.

I did notice that all it does is take you to the current release page, rather than start some download, and that the message only gets shown once, not subsequently, so it’s not such a dramatic thing perhaps.

Still, is there a way to turn off this feature for the Flatpak and other Linux versions (other than the AppImage, of course) e.g. with a build flag?

At the moment, there’s no build flag, but it could be turned off for Linux certainly. All the code is in avogadroapp/avogadro/mainwindow.cpp

1 Like

You’d probably want it turned off for the MS Store version as well, I should think.

I’ll have a look at the code soon, once I’ve got the Flatpak sorted.

Congrats on the release and the mountain of bug fixes :smiley: