diff --git a/addons/message_update_v2.13/enable.js b/addons/message_update_v2.13/enable.js index cb57636ef8..2a4f66fdc6 100644 --- a/addons/message_update_v2.13/enable.js +++ b/addons/message_update_v2.13/enable.js @@ -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'); @@ -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');