Automatic updates on Linux

• Dec 9, 2018 - 06:00
Reported version
3.0
Type
Functional
Severity
S5 - Suggestion
Status
active
Regression
No
Workaround
No
Project

MuseScore provides an AppImage as the official download format on Linux. The current AppImage is type 1. If this was upgraded to a type 2 AppImage then it could benefit from many of the new AppImage features, including automatic updates (e.g. via AppImageLauncher).

Creating the original AppImage was a herculean effort, but thankfully tools now exist to do the job automaticially. This means all the custom shell scripts in build/Linux+BSD/portable can be removed and replaced with a single command to run linuxdeploy on MuseScore's compiled binary, making use of linuxdeploy's official plugins for AppImages and Qt.


Comments

See also
https://musescore.org/en/node/280926
and updated info in a comment here:
https://musescore.org/en/node/281324

By the way, linuxdeploy also works, when using its qt-plugin, but for some reasons I can't understand it does not include printsupport plugin and I couldn't find a way to stop it inserting (additional) Qt translations and copied library copyright info.
With linuxdeployqt and a successive call to appimagetool to create the AppImage and include the updating info I was able to create an AppImage, which should however still be tested under different environments.

EDIT:
The build finished and here is the resulting AppImage:
https://bintray.com/antoniobl/musescore-custom-nightlies/MuseScore_3_Po…