Skip to content

Commit

Permalink
Show download message to windows users on update message
Browse files Browse the repository at this point in the history
  • Loading branch information
brizental committed Jan 30, 2023
1 parent 25d25fa commit d5d900c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/message_update_v2.13/enable.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (('updateTime' in api.settings)) {
api.addon.date = (api.settings.updateTime.getTime() / 1000);
}

// windows v2.10/v2.11 do require a web-based update.
// windows v2.10/v2.12 do require a web-based update.
if (api.env.platform != 'windows') {
api.addon.composer.remove('c_4');
api.addon.composer.remove('c_2b');
Expand All @@ -34,7 +34,7 @@ function versionCompare(a, b) {
return 0;
}

if (versionCompare([2, 11, 1], version) >= 0 ||
if (versionCompare([2, 13, 0], version) >= 0 ||
versionCompare([2, 10, 0], version) < -1) {
api.addon.composer.remove('c_4');
api.addon.composer.remove('c_2b');
Expand Down

0 comments on commit d5d900c

Please sign in to comment.