diff --git a/addons/message_whats_new_v2.18/manifest.json b/addons/message_whats_new_v2.18/manifest.json new file mode 100644 index 0000000000..8fbde5c257 --- /dev/null +++ b/addons/message_whats_new_v2.18/manifest.json @@ -0,0 +1,42 @@ +{ + "api_version": "0.1", + "id": "message_whats_new_v2.18", + "name": "What's new message", + "type": "message", + "conditions": { + "min_client_version": "2.18.0", + "max_client_version": "2.18.9" + }, + "javascript": { + "enable": "setDate.js" + }, + "message": { + "date": 1675040400, + "id": "message_whats_new_v2.18", + "title": "You’ve updated to Mozilla VPN 2.18", + "subtitle": "You’re using the latest version of Mozilla VPN.", + "badge": "whats_new", + "blocks": [ + { + "id": "c_1", + "type": "text", + "content": "This update includes minor bug fixes, UI adjustments and other performance improvements, including:" + }, + { + "id": "c_2", + "type": "ulist", + "content": [ + { + "id": "l_2", + "content": "The ability to upgrade to an annual plan from within the app" + } + ] + }, + { + "id": "c_3", + "type": "text", + "content": "Thank you for installing the latest version!" + } + ] + } +} \ No newline at end of file diff --git a/addons/message_whats_new_v2.18/setDate.js b/addons/message_whats_new_v2.18/setDate.js new file mode 100644 index 0000000000..86100c828c --- /dev/null +++ b/addons/message_whats_new_v2.18/setDate.js @@ -0,0 +1,3 @@ +(function (api) { + api.addon.date = (api.settings.updateTime.getTime() / 1000); +})