Move comments around

This commit is contained in:
Idrees Hassan
2025-10-25 20:41:10 -04:00
parent f45eb0ce61
commit 3aa0308746
3 changed files with 5 additions and 6 deletions

View File

@@ -22,9 +22,9 @@ const STYLESHEET_KEY = "___STYLESHEET___";
const now = new Date();
const versionDate = `${now.getFullYear()}.${now.getMonth() + 1}.${now.getDate()}`;
let buildNumber = 1;
// Get build number from manifest.json
// Get current build number from manifest.json
let buildNumber = 0;
try {
const manifest = JSON.parse(readFileSync('manifest.json', 'utf8'));
if (manifest.version) {
@@ -41,9 +41,8 @@ try {
throw e;
}
const version = `${versionDate}.${buildNumber}`;
// Update manifest.json with new version
const version = `${versionDate}.${buildNumber}`;
try {
const manifest = JSON.parse(readFileSync('manifest.json', 'utf8'));
manifest.version = version;

2
dist/birb.user.js vendored
View File

@@ -1,7 +1,7 @@
// ==UserScript==
// @name Pocket Bird
// @namespace https://idreesinc.com
// @version 2025.10.25.1
// @version 2025.10.25.8
// @description birb
// @author Idrees
// @downloadURL https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/birb.user.js

View File

@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Pocket Bird",
"description": "It's a bird, in your browser. What more could you want?",
"version": "2025.10.25.1",
"version": "2025.10.25.8",
"homepage_url": "https://idreesinc.com",
"content_scripts": [
{