Open cbjeukendrup opened 4 months ago
Maybe we could do most of the download and installation in the background, extracting all the files to a temporary folder, then when we prompt the user to relaunch MuseScore, all we need to do is rename the temporary folder to put everything in the final, proper location.
Some apps, most notably ones using the Electron framework, provide very convenient ways of automatically installing updates. For example,
All of these apps make use of the Squirrel framework, which is built into Electron.
In MuseScore 3, the situation was similar to that: it made use of the Sparkle framework on macOS, and the WinSparkle port of that on Windows.
In MuseScore 4, we use our own solution, but unfortunately this doesn't go further than just downloading the update "in the foreground" and then letting the user install it manually. This has some disadvantages: