cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
6.65k stars 518 forks source link

Linux/Mac Auto-Updater #1145

Closed qurious-pixel closed 2 months ago

qurious-pixel commented 3 months ago

Linux / Mac Auto-updater

fixes https://github.com/cemu-project/Cemu/issues/998

Exzap commented 3 months ago

In the current state this would try to update the ubuntu and flatpak builds too using the appimage code path? edit: nvm I see it only applies the update if appimage environment variable is found, but it still does the update check using appimage identifier

qurious-pixel commented 3 months ago

I tested with the Ubuntu update path as well, which would be similar to Windows, but put that idea to the side because of permissions. Have to examine if the user would have permission to write to /usr/bin to replace the installed app.

AppImage does not require elevated permissions in standard paths.

Mac code (which hasn't been updated in the PR yet) has to handle Apple app sandbox.

Exzap commented 2 months ago

Looks good to me. Sorry for the delay