mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-24 19:59:36 +00:00
Fix bird/birb in menu items
This commit is contained in:
BIN
dist/extension.zip
vendored
BIN
dist/extension.zip
vendored
Binary file not shown.
6
dist/extension/birb.js
vendored
6
dist/extension/birb.js
vendored
@@ -2651,7 +2651,7 @@
|
||||
};
|
||||
|
||||
const menuItems = [
|
||||
new MenuItem(`Pet ${birdBirb()}`, pet, [
|
||||
new MenuItem(() => `Pet ${birdBirb()}`, pet, [
|
||||
[0, 1, 1, 0, 1, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 0, 0, 0, 1],
|
||||
@@ -2683,7 +2683,7 @@
|
||||
[1, 0, 0, 0, 0, 1, 0],
|
||||
[1, 1, 1, 1, 1, 1, 0],
|
||||
]),
|
||||
new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
[0, 1, 0, 1, 0, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
@@ -2741,7 +2741,7 @@
|
||||
}),
|
||||
new Separator(),
|
||||
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
|
||||
new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false),
|
||||
new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false),
|
||||
];
|
||||
|
||||
/** @type {Birb} */
|
||||
|
||||
2
dist/extension/manifest.json
vendored
2
dist/extension/manifest.json
vendored
@@ -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": "2026.4.3",
|
||||
"version": "2026.4.4",
|
||||
"homepage_url": "https://idreesinc.com",
|
||||
"icons": {
|
||||
"48": "images/icons/transparent/48x48x1.png",
|
||||
|
||||
8
dist/obsidian/main.js
vendored
8
dist/obsidian/main.js
vendored
@@ -1,7 +1,7 @@
|
||||
const { Plugin, Notice } = require('obsidian');
|
||||
module.exports = class PocketBird extends Plugin {
|
||||
onload() {
|
||||
console.log("Loading Pocket Bird version 2026.4.3...");
|
||||
console.log("Loading Pocket Bird version 2026.4.4...");
|
||||
const OBSIDIAN_PLUGIN = this;
|
||||
(function () {
|
||||
'use strict';
|
||||
@@ -2684,7 +2684,7 @@ module.exports = class PocketBird extends Plugin {
|
||||
};
|
||||
|
||||
const menuItems = [
|
||||
new MenuItem(`Pet ${birdBirb()}`, pet, [
|
||||
new MenuItem(() => `Pet ${birdBirb()}`, pet, [
|
||||
[0, 1, 1, 0, 1, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 0, 0, 0, 1],
|
||||
@@ -2716,7 +2716,7 @@ module.exports = class PocketBird extends Plugin {
|
||||
[1, 0, 0, 0, 0, 1, 0],
|
||||
[1, 1, 1, 1, 1, 1, 0],
|
||||
]),
|
||||
new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
[0, 1, 0, 1, 0, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
@@ -2774,7 +2774,7 @@ module.exports = class PocketBird extends Plugin {
|
||||
}),
|
||||
new Separator(),
|
||||
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
|
||||
new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false),
|
||||
new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false),
|
||||
];
|
||||
|
||||
/** @type {Birb} */
|
||||
|
||||
2
dist/obsidian/manifest.json
vendored
2
dist/obsidian/manifest.json
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "pocket-bird",
|
||||
"name": "Pocket Bird",
|
||||
"version": "2026.4.3",
|
||||
"version": "2026.4.4",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Add a pet bird to fly around your notes and keep you company!",
|
||||
"author": "Idrees Hassan",
|
||||
|
||||
8
dist/userscript/birb.user.js
vendored
8
dist/userscript/birb.user.js
vendored
@@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name Pocket Bird
|
||||
// @namespace https://idreesinc.com
|
||||
// @version 2026.4.3
|
||||
// @version 2026.4.4
|
||||
// @description It's a pet bird in your browser, what more could you want?
|
||||
// @author Idrees
|
||||
// @downloadURL https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/userscript/birb.user.js
|
||||
@@ -2646,7 +2646,7 @@
|
||||
};
|
||||
|
||||
const menuItems = [
|
||||
new MenuItem(`Pet ${birdBirb()}`, pet, [
|
||||
new MenuItem(() => `Pet ${birdBirb()}`, pet, [
|
||||
[0, 1, 1, 0, 1, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 0, 0, 0, 1],
|
||||
@@ -2678,7 +2678,7 @@
|
||||
[1, 0, 0, 0, 0, 1, 0],
|
||||
[1, 1, 1, 1, 1, 1, 0],
|
||||
]),
|
||||
new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
[0, 1, 0, 1, 0, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
@@ -2736,7 +2736,7 @@
|
||||
}),
|
||||
new Separator(),
|
||||
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
|
||||
new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false),
|
||||
new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false),
|
||||
];
|
||||
|
||||
/** @type {Birb} */
|
||||
|
||||
6
dist/web/birb.embed.js
vendored
6
dist/web/birb.embed.js
vendored
@@ -2626,7 +2626,7 @@
|
||||
};
|
||||
|
||||
const menuItems = [
|
||||
new MenuItem(`Pet ${birdBirb()}`, pet, [
|
||||
new MenuItem(() => `Pet ${birdBirb()}`, pet, [
|
||||
[0, 1, 1, 0, 1, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 0, 0, 0, 1],
|
||||
@@ -2658,7 +2658,7 @@
|
||||
[1, 0, 0, 0, 0, 1, 0],
|
||||
[1, 1, 1, 1, 1, 1, 0],
|
||||
]),
|
||||
new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
[0, 1, 0, 1, 0, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
@@ -2716,7 +2716,7 @@
|
||||
}),
|
||||
new Separator(),
|
||||
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
|
||||
new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false),
|
||||
new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false),
|
||||
];
|
||||
|
||||
/** @type {Birb} */
|
||||
|
||||
6
dist/web/birb.js
vendored
6
dist/web/birb.js
vendored
@@ -2626,7 +2626,7 @@
|
||||
};
|
||||
|
||||
const menuItems = [
|
||||
new MenuItem(`Pet ${birdBirb()}`, pet, [
|
||||
new MenuItem(() => `Pet ${birdBirb()}`, pet, [
|
||||
[0, 1, 1, 0, 1, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 0, 0, 0, 1],
|
||||
@@ -2658,7 +2658,7 @@
|
||||
[1, 0, 0, 0, 0, 1, 0],
|
||||
[1, 1, 1, 1, 1, 1, 0],
|
||||
]),
|
||||
new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
[0, 1, 0, 1, 0, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
@@ -2716,7 +2716,7 @@
|
||||
}),
|
||||
new Separator(),
|
||||
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
|
||||
new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false),
|
||||
new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false),
|
||||
];
|
||||
|
||||
/** @type {Birb} */
|
||||
|
||||
@@ -169,7 +169,7 @@ function startApplication(birbPixels, featherPixels, hatsPixels) {
|
||||
};
|
||||
|
||||
const menuItems = [
|
||||
new MenuItem(`Pet ${birdBirb()}`, pet, [
|
||||
new MenuItem(() => `Pet ${birdBirb()}`, pet, [
|
||||
[0, 1, 1, 0, 1, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 0, 0, 0, 1],
|
||||
@@ -201,7 +201,7 @@ function startApplication(birbPixels, featherPixels, hatsPixels) {
|
||||
[1, 0, 0, 0, 0, 1, 0],
|
||||
[1, 1, 1, 1, 1, 1, 0],
|
||||
]),
|
||||
new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [
|
||||
[0, 1, 0, 1, 0, 1, 0],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
[1, 0, 0, 1, 0, 0, 1],
|
||||
|
||||
Reference in New Issue
Block a user