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

Auto-updater for Linux AppImage #1770

Open
ItsRogueRen opened this issue Jul 15, 2024 · 4 comments
Open

Auto-updater for Linux AppImage #1770

ItsRogueRen opened this issue Jul 15, 2024 · 4 comments
Labels
meta-story An issue that adds a new feature os-linux This affects Linux related code. User Raised

Comments

@ItsRogueRen
Copy link

ItsRogueRen commented Jul 15, 2024

User story

As a Linux user

I want to be able to update the app from within the application itself. Appimages do not integrate like every other packaging format on Linux, so 3rd party tools are used to get the same result. However this gets really messy when an app needs to be updated as you have to go though, delete the old version, delete the desktop file for the app, download the new version, and then run it through the integration tool again. Having an in-app updater that replaces the old version with the newest one in the same location with the same name would save all this hassle for the end user. An example of this can be seen in the Smash Bros Melee fork of the Dolphin emulator called Slippi

So that the appimage does not need to be deleted and re-integrated every update

Requirements

(Any other information related to but not covered by the story)

Design

A button somewhere on the main menu that checks for a new release of the appimage and downloads it, replacing the old version.

DOD

(Describe the expected behaviour from the users point of view. Create multiple DoD's if required to fully describe what should happen. Number each DoD)

Scenario 1

Given a new update for the appimage

When the appimage prompts, an update button can be clicked.

Then the appimage is replaced with a new one without having to move any files or rename anything.

@Pickysaurus Pickysaurus added User Raised meta-story An issue that adds a new feature os-linux This affects Linux related code. labels Jul 16, 2024
@Pickysaurus
Copy link
Contributor

The whole process of automatically (or more seamlessly) updating the app will we revisited a bit later in development. Right now each update is a breaking change that requires reinstalling all mods so we don't want auto-updates to do that for the moment.

@LukeNexusMods
Copy link
Collaborator

It is absolutely something we will get round to doing but whilst we are still early in development and are constantly updating code that introduces breaking changes it wouldn't work that well. When we get to a more stable place we will implement a more robust updating process.

@erri120
Copy link
Member

erri120 commented Jul 16, 2024

The App is already available on a couple of package repositories. Ideally, you'd want to use your package manager of choice to install the App. We're also looking into creating a Flatpak version.

Packaging status

@erri120 erri120 changed the title Auto-updater for Linux Appimage Auto-updater for Linux AppImage Jul 17, 2024
@robojerk
Copy link

robojerk commented Jul 19, 2024

I use GearLever to manage my AppImage stuff. It has an update feature.

https://mijorus.it/posts/gearlever/update-url-info/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta-story An issue that adds a new feature os-linux This affects Linux related code. User Raised
Projects
None yet
Development

No branches or pull requests

5 participants