Prevent duplicate install notifications (#125)
This commit is contained in:
@@ -1014,12 +1014,15 @@ function onExtensionInstalled(details) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (details.reason === "install") {
|
if (details.reason === "install") {
|
||||||
show(
|
if (localStorage.getItem("installed") === null) {
|
||||||
"installed",
|
localStorage.setItem("installed", Date.now());
|
||||||
"browserpass: Install native host app",
|
show(
|
||||||
"Remember to install the complementary native host app to use this extension.\n" +
|
"installed",
|
||||||
"Instructions here: https://github.com/browserpass/browserpass-native"
|
"browserpass: Install native host app",
|
||||||
);
|
"Remember to install the complementary native host app to use this extension.\n" +
|
||||||
|
"Instructions here: https://github.com/browserpass/browserpass-native"
|
||||||
|
);
|
||||||
|
}
|
||||||
} else if (details.reason === "update") {
|
} else if (details.reason === "update") {
|
||||||
var changelog = {
|
var changelog = {
|
||||||
3000000:
|
3000000:
|
||||||
|
Reference in New Issue
Block a user