Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
alganzory committed Mar 23, 2024
1 parent bead149 commit 1686463
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "HaramBlur",
"description": "Protect your privacy and uphold Islamic values by auto detecting & blurring images and videos of unwanted or impermissible content.",
"version": "0.2.5",
"version": "0.2.6",
"permissions": ["storage", "offscreen","contextMenus"],
"author": "[email protected]",
"action": {
Expand Down
16 changes: 8 additions & 8 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ chrome.runtime.onInstalled.addListener(function (details) {
url: "https://onboard.haramblur.com/",
});
} else if (details?.reason === "update") {
const currentVersion = chrome.runtime.getManifest().version;
if (currentVersion == "0.2.4" || currentVersion == "0.2.5") return; // no need to show update page for this version
const previousVersion = details.previousVersion;
if (currentVersion != previousVersion) {
chrome.tabs.create({
url: "https://update.haramblur.com/",
});
}
// const currentVersion = chrome.runtime.getManifest().version;
// if (currentVersion == "0.2.4" || currentVersion == "0.2.5") return; // no need to show update page for this version
// const previousVersion = details.previousVersion;
// if (currentVersion != previousVersion) {
// chrome.tabs.create({
// url: "https://update.haramblur.com/",
// });
// }
}
});

Expand Down

0 comments on commit 1686463

Please sign in to comment.