Fixed typo in version checked on noscript capability update.

This commit is contained in:
hackademix 2021-02-16 16:43:08 +01:00
parent ef2b36d496
commit 2f86a20172
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ var LifeCycle = (() => {
ns.policy.TRUSTED.capabilities.add("ping");
await ns.savePolicy();
}
if (Ver.is(previousVersion, "<", "11.2.rc4")) {
if (Ver.is(previousVersion, "<=", "11.2.1")) {
log(`Upgrading from ${previousVersion}: configure the "noscript" capability.`);
await ns.initializing;
let {DEFAULT, TRUSTED, UNTRUSTED} = ns.policy;