Add font directly to extension

This commit is contained in:
Idrees Hassan
2025-11-02 15:06:21 -05:00
parent 49b32eb934
commit 6e40e658bf
8 changed files with 14 additions and 9 deletions

View File

@@ -114,5 +114,8 @@ writeFileSync('./dist/extension/manifest.json', manifestContent);
// Copy icons folder
mkdirSync('./dist/extension/images/icons', { recursive: true });
cpSync('./images/icons/transparent', './dist/extension/images/icons/transparent', { recursive: true });
// Copy fonts folder
mkdirSync('./dist/extension/fonts', { recursive: true });
cpSync('./fonts', './dist/extension/fonts', { recursive: true });
console.log(`Build completed: version ${version}`);

2
dist/birb.js vendored
View File

@@ -1867,7 +1867,7 @@
insertModal(`${birdBirb()} Mode`, message);
}),
new Separator(),
new MenuItem("2025.11.2.62", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.2.62"); }, false),
new MenuItem("2025.11.2.66", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.2.66"); }, false),
];
const styleElement = document.createElement("style");

View File

@@ -1867,7 +1867,7 @@
insertModal(`${birdBirb()} Mode`, message);
}),
new Separator(),
new MenuItem("2025.11.2.62", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.2.62"); }, false),
new MenuItem("2025.11.2.66", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.2.66"); }, false),
];
const styleElement = document.createElement("style");

BIN
dist/extension/fonts/Monocraft.otf vendored Normal file

Binary file not shown.

View File

@@ -1,8 +1,8 @@
{
"manifest_version": 3,
"name": "Pocket Bird",
"description": "It's a bird, in your browser. What more could you want?",
"version": "2025.11.2.62",
"description": "It's a pet bird in your browser, what more could you want?",
"version": "2025.11.2.66",
"homepage_url": "https://idreesinc.com",
"icons": {
"48": "images/icons/transparent/48x48x1.png",
@@ -26,7 +26,8 @@
"web_accessible_resources": [
{
"resources": [
"images/*"
"images/*",
"fonts/Monocraft.otf"
],
"matches": [
"<all_urls>"

View File

@@ -1,7 +1,7 @@
// ==UserScript==
// @name Pocket Bird
// @namespace https://idreesinc.com
// @version 2025.11.2.62
// @version 2025.11.2.66
// @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.62", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.2.62"); }, false),
new MenuItem("2025.11.2.66", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.2.66"); }, false),
];
const styleElement = document.createElement("style");

BIN
fonts/Monocraft.otf Normal file

Binary file not shown.

View File

@@ -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.62",
"version": "2025.11.2.66",
"homepage_url": "https://idreesinc.com",
"icons": {
"48": "images/icons/transparent/48x48x1.png",
@@ -26,7 +26,8 @@
"web_accessible_resources": [
{
"resources": [
"images/*"
"images/*",
"fonts/Monocraft.otf"
],
"matches": [
"<all_urls>"