Skip to content

Commit

Permalink
bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanb10 committed Jun 22, 2021
1 parent ac1cdb4 commit 173323b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Snoozz - Snooze Tabs & Windows for later",
"short_name": "Snoozz",
"description": "Declutter your browser by snoozing tabs and windows until you actually need them.",
"version": "2.4.4",
"version": "2.4.4.1",

"icons": {
"128": "icons/ext-icon-128.png",
Expand Down
1 change: 1 addition & 0 deletions scripts/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ async function init() {
chrome.runtime.onInstalled.addListener(async details => {
setUpExtension();
if (details && details.reason && details.reason == 'update' && details.previousVersion && details.previousVersion != chrome.runtime.getManifest().version) {
if (chrome.runtime.getManifest().version.search(/^\d\.\d\.\d$/) !== 0) return; // skip if minor version
await new Promise(r => chrome.storage.local.set({'updated': true}, r));
if (chrome.notifications) createNotification(null, 'Snoozz has been updated', 'icons/logo.svg', 'Click here to see what\'s new.', true);
}
Expand Down

0 comments on commit 173323b

Please sign in to comment.