Skip to content

Commit

Permalink
version 1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
StigNygaard committed Jan 7, 2023
1 parent 2fb7f38 commit 2e4354d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions WebExtension/background/flickr_fixr.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,13 @@ function messageHandler(request, sender, sendResponse) {
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onInstalled
// https://extensionworkshop.com/documentation/develop/onboard-upboard-offboard-users/
function installHandler({reason, temporary, previousVersion}) {
console.log("Extension version: " + browser.runtime.getManifest().version);
console.log("Flickr Fixr extension version: " + browser.runtime.getManifest().version);
console.log("Installation or update! details.reason: " + reason);
if (typeof temporary !== 'undefined') { // Ff55
console.log("details.temporary: " + temporary); // true/false
}
console.log("details.temporary: " + temporary);
switch (reason) {
case 'update':
if (typeof previousVersion !== 'undefined') { // Ff55
console.log("Updated from details.previousVersion: " + previousVersion);
}
// break;
console.log("Updated from details.previousVersion: " + previousVersion);
break;
case 'install':
// browser.runtime.openOptionsPage();
// browser.runtime.getURL()
Expand Down
2 changes: 1 addition & 1 deletion WebExtension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Flickr Fixr",
"short_name": "Flickr Fixr",
"description": "Makes Flickr almost awesome - while waiting for SmugMug to fully fix it ;-)",
"version": "1.14.0",
"version": "1.15.0",
"author": "Stig Nygaard",
"homepage_url": "https://github.com/StigNygaard/Stigs_Flickr_Fixr",
"permissions": [
Expand Down

0 comments on commit 2e4354d

Please sign in to comment.