1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Add button to reload extension if update pending

For #522
This commit is contained in:
kkapsner 2021-01-26 21:45:15 +01:00
parent 8e5986817e
commit a5558b4144
7 changed files with 38 additions and 1 deletions

View file

@ -218,6 +218,9 @@
browser.runtime.reload();
}, 1000);
}
else {
settings.updatePending = true;
}
});
}
logging.message("end");

View file

@ -412,6 +412,11 @@
name: "disruptSessionOnUpdate",
defaultValue: false
},
{
name: "updatePending",
resetOnStartup: true,
defaultValue: false
},
{
name: "isStillDefault",
defaultValue: true