diff --git a/manifest.json b/browser-manifest.json similarity index 97% rename from manifest.json rename to browser-manifest.json index 9713d00..f7f0182 100644 --- a/manifest.json +++ b/browser-manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Pocket Bird", "description": "It's a pet bird in your browser, what more could you want?", - "version": "2025.11.2.76", + "version": "2025.11.3.5", "homepage_url": "https://idreesinc.com", "icons": { "48": "images/icons/transparent/48x48x1.png", diff --git a/build.js b/build.js index 4511f46..08f4700 100644 --- a/build.js +++ b/build.js @@ -21,10 +21,10 @@ const STYLESHEET_KEY = "___STYLESHEET___"; const now = new Date(); const versionDate = `${now.getFullYear()}.${now.getMonth() + 1}.${now.getDate()}`; -// Get current build number from manifest.json +// Get current build number from the browser-manifest.json let buildNumber = 0; try { - const manifest = JSON.parse(readFileSync('manifest.json', 'utf8')); + const manifest = JSON.parse(readFileSync('browser-manifest.json', 'utf8')); if (manifest.version) { if (manifest.version.startsWith(versionDate)) { // Same day, increment build number @@ -35,18 +35,18 @@ try { } } } catch (e) { - console.error("Could not read version from manifest.json"); + console.error("Could not read version from browser-manifest.json"); throw e; } // Update manifest.json with new version const version = `${versionDate}.${buildNumber}`; try { - const manifest = JSON.parse(readFileSync('manifest.json', 'utf8')); + const manifest = JSON.parse(readFileSync('browser-manifest.json', 'utf8')); manifest.version = version; - writeFileSync('manifest.json', JSON.stringify(manifest, null, 4), 'utf8'); + writeFileSync('browser-manifest.json', JSON.stringify(manifest, null, 4), 'utf8'); } catch (e) { - console.error("Could not update version in manifest.json"); + console.error("Could not update version in browser-manifest.json"); throw e; } @@ -110,7 +110,7 @@ mkdirSync('./dist/extension', { recursive: true }); // Copy birb.js writeFileSync('./dist/extension/birb.js', birbJs); // Copy manifest.json -const manifestContent = readFileSync('./manifest.json', 'utf8'); +const manifestContent = readFileSync('./browser-manifest.json', 'utf8'); writeFileSync('./dist/extension/manifest.json', manifestContent); // Copy icons folder mkdirSync('./dist/extension/images/icons', { recursive: true }); diff --git a/dist/birb.js b/dist/birb.js index 489c300..f327dca 100644 --- a/dist/birb.js +++ b/dist/birb.js @@ -1867,7 +1867,7 @@ insertModal(`${birdBirb()} Mode`, message); }), new Separator(), - new MenuItem("2025.11.2.76", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.2.76"); }, false), + new MenuItem("2025.11.3.5", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.3.5"); }, false), ]; const styleElement = document.createElement("style"); diff --git a/dist/extension.zip b/dist/extension.zip index 5f6fb09..3ca9231 100644 Binary files a/dist/extension.zip and b/dist/extension.zip differ diff --git a/dist/extension/birb.js b/dist/extension/birb.js index 489c300..f327dca 100644 --- a/dist/extension/birb.js +++ b/dist/extension/birb.js @@ -1867,7 +1867,7 @@ insertModal(`${birdBirb()} Mode`, message); }), new Separator(), - new MenuItem("2025.11.2.76", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.2.76"); }, false), + new MenuItem("2025.11.3.5", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.3.5"); }, false), ]; const styleElement = document.createElement("style"); diff --git a/dist/extension/manifest.json b/dist/extension/manifest.json index 9713d00..f7f0182 100644 --- a/dist/extension/manifest.json +++ b/dist/extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Pocket Bird", "description": "It's a pet bird in your browser, what more could you want?", - "version": "2025.11.2.76", + "version": "2025.11.3.5", "homepage_url": "https://idreesinc.com", "icons": { "48": "images/icons/transparent/48x48x1.png", diff --git a/dist/userscript/birb.user.js b/dist/userscript/birb.user.js index 932e73c..c09fed1 100644 --- a/dist/userscript/birb.user.js +++ b/dist/userscript/birb.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Pocket Bird // @namespace https://idreesinc.com -// @version 2025.11.2.76 +// @version 2025.11.3.5 // @description It's a bird that hops around your web browser, the future is here // @author Idrees // @downloadURL https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/userscript/birb.user.js @@ -1881,7 +1881,7 @@ insertModal(`${birdBirb()} Mode`, message); }), new Separator(), - new MenuItem("2025.11.2.76", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.2.76"); }, false), + new MenuItem("2025.11.3.5", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.3.5"); }, false), ]; const styleElement = document.createElement("style");