musescore/musescore-connect

Add a notification possibility to upgrade MuseScore to the latest

thomasbonte opened this issue · 4 comments

  • Retrieve the version of MuseScore
  • If not the latest, put up a message to upgrade MuseScore
if (window.location.search.split("2.0.3").length != 2) {
  // display upgrade message
};

Currently, I have 2.3.2 and MuseScore Connect is showing me a message to upgrade to 2.3.1.

@IsaacWeiss good catch. Will fix today, and a better future proof solution on Friday.

To retrieve the MuseScore version, use mscore.version() via the MuseScore Javascript interface.