From 344c71b315d31232abe5a666315648ce4756a629 Mon Sep 17 00:00:00 2001 From: Local Dev Date: Tue, 8 Sep 2026 22:40:48 +0200 Subject: [PATCH] fix(theseus/aegis): drop registerSidebarPanel icon override so dock inherits brand shield MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The toolbar dock still showed the 🛡 emoji even after chrome.html learned to render data-URI icons — because registerSidebarPanel({icon}) is the per-panel icon that overrides manifest.icon, and Aegis was passing "🛡" verbatim. Dropping the override lets addons-host's `icon = manifest.icon` default kick in, so the dock button pulls the branded aegis.x/brand shield the manifest now advertises. Version bumped 0.4.1 → 0.4.3 to force seedBundledAddons to reseed the new index.js on next launch. --- bundled-addons/aegis/addon.json | 2 +- bundled-addons/aegis/index.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bundled-addons/aegis/addon.json b/bundled-addons/aegis/addon.json index 4e1abc4..dd92993 100644 --- a/bundled-addons/aegis/addon.json +++ b/bundled-addons/aegis/addon.json @@ -1,7 +1,7 @@ { "id": "aegis", "name": "Aegis Wallet", - "version": "0.4.1", + "version": "0.4.3", "description": "Multi-chain wallet (BCH, BTC, TRX, ETH, SOL, SC, DGB) derived from your Theseus vault. Dapps get window.bitcoincash on .x sites; window.tronWeb / window.tronLink / window.ethereum / window.solana on any https page.", "author": "Silent Mode", "icon": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpolygon points='16,2 28,9 28,23 16,30 4,23 4,9' fill='%230a0a0d' stroke='%23D6FF3D' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='16' cy='16' r='4.5' fill='none' stroke='%23D6FF3D' stroke-width='1.4'/%3E%3Ccircle cx='16' cy='16' r='1.6' fill='%23D6FF3D'/%3E%3C/svg%3E", diff --git a/bundled-addons/aegis/index.js b/bundled-addons/aegis/index.js index a4b05fa..4bc92fb 100644 --- a/bundled-addons/aegis/index.js +++ b/bundled-addons/aegis/index.js @@ -1624,7 +1624,10 @@ function registerPageMessages(api) { module.exports = { activate(api) { - api.registerSidebarPanel({ id: "main", title: "Wallet", icon: "🛡", page: "panel.html" }); + // No explicit icon — inherit manifest.icon (branded shield data URI) + // so the toolbar dock button renders the aegis.x brand mark instead + // of a fallback emoji. + api.registerSidebarPanel({ id: "main", title: "Wallet", page: "panel.html" }); const c = ctx = { api, d: null,