Microsoft has acquired GitHub. Decentraleyes has left GitHub. Welcome to its new home!

To participate, please register, or sign in with an existing GitLab.com, Bitbucket, or GitHub account.

Past contributions on GitHub? Be sure to reclaim your Comments, Issues, and Pull Requests.

Update release notes

parent d04bb51a
......@@ -21,6 +21,7 @@ var Interceptor = require('./interceptor');
var LoadWatcher = require('./load-watcher');
var preferences = require('sdk/simple-prefs').prefs;
var self = require('sdk/self');
var tabs = require("sdk/tabs");
/**
......@@ -30,6 +31,11 @@ var tabs = require("sdk/tabs");
var interceptor = new Interceptor();
var loadWatcher = new LoadWatcher();
var featurelessVersions = {
'1.3.7': true
};
// Executed as soon as the add-on is loaded.
exports.main = function (options) {
......@@ -37,10 +43,13 @@ exports.main = function (options) {
interceptor.register();
loadWatcher.register();
if (preferences.showReleaseNotes && (options.loadReason === 'install' || options.loadReason === 'upgrade')) {
if (preferences.showReleaseNotes) {
if (options.loadReason === 'install' || (options.loadReason === 'upgrade' && !featurelessVersions[self.version])) {
if (preferences['sdk.baseURI']) {
tabs.open(preferences['sdk.baseURI'] + 'static/release-notes.html');
if (preferences['sdk.baseURI']) {
tabs.open(preferences['sdk.baseURI'] + 'static/release-notes.html');
}
}
}
};
......@@ -49,5 +58,5 @@ exports.main = function (options) {
exports.onUnload = function () {
// Clean up add-on state.
interceptor.unregister()
interceptor.unregister();
};
......@@ -111,7 +111,7 @@
<div class="container">
<h1>Decentraleyes <i>v1.3.6</i></h1>
<h1>Decentraleyes <i>v1.3.7</i></h1>
<br><br>
......@@ -195,6 +195,17 @@
<br>
<div class="notice">
<i>Detailed v1.3.7 changelog:</i>
<ul>
<li>Fixed issues with localized variants of various Yandex services.</li>
</ul>
</div>
<br>
<div class="notice">
<i>Detailed v1.3.6 changelog:</i>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment