Bug: update procedure on Ubuntu requires manual steps
After starting Swarm Desktop on Ubuntu, it prompts for an update:
Link takes user to GitHub repo, to download the .deb package. Downloaded, clicked and installed using UI package manager.
Opening the app, however, produces an error, as there is an older version already running in the background.
User has to stop/kill the swarm desktop and Bee process for the procedure to go through.
Expected behavior: the upgrade should be more seamless, if there is an older version of desktop and bee running in the background, it should be stopped when upgrading Bee through Swarm desktop.
Also, maybe unrelated, but every next time Swarm desktop is ran, and there is one alreadz started, it tries to open the http://localhost:3055/ instead of http://localhost:3054/, which does not work. This
Unfortunately, this is by design as the API we are using for the updates (https://www.electronjs.org/docs/latest/api/auto-updater) does not support Linux.
This does not mean that there are no issues with the current flow. At the very least, there should be a popup after clicking "update" on Linux that explains that Swarm Desktop needs to be shut down before running the new version.
As a long term solution, we could switch to a different update mechanism that also handles Linux builds properly.