Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
alganzory committed Mar 22, 2024
1 parent 6ab2465 commit 84bc4ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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": 2,
"name": "HaramBlur",
"description": "Protect your privacy and uphold Islamic values by auto detecting & blurring images and videos of unwanted or impermissible content.",
"version": "0.1.0",
"version": "0.1.1",
"permissions": ["storage", "contextMenus", "*://*/*"],
"author": "md.alganzory@gmail.com",
"browser_action": {
Expand Down
14 changes: 7 additions & 7 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ browser.runtime.onInstalled.addListener(function (details) {
url: "https://onboard.haramblur.com/",
});
} else if (details?.reason === "update") {
const currentVersion = chrome.runtime.getManifest().version;
const previousVersion = details.previousVersion;
if (currentVersion != previousVersion) {
chrome.tabs.create({
url: "https://update.haramblur.com/",
});
}
// const currentVersion = chrome.runtime.getManifest().version;
// const previousVersion = details.previousVersion;
// // if (currentVersion != previousVersion) {
// // chrome.tabs.create({
// // url: "https://update.haramblur.com/",
// // });
// // }
}
});

Expand Down

0 comments on commit 84bc4ab

Please sign in to comment.