Skip to content

Fix missing icon-16.png causing Chrome extension load error - #4

Merged
insane66613 merged 2 commits into
mainfrom
copilot/fix-icon-loading-error
Mar 7, 2026
Merged

insane66613 merged 2 commits into
mainfrom
copilot/fix-icon-loading-error

Conversation

Copilot AI commented Mar 7, 2026 •

Copy link
Copy Markdown

manifest.ts references icon-16.png in both icons and web_accessible_resources, but the file was excluded via .gitignore and never committed, causing Chrome to log: "Couldn't load icon icon-16.png specified in icons."

Changes

  • Added chrome-extension/public/icon-16.png — 16×16 PNG generated by downscaling icon-128.png with Lanczos resampling
  • Removed chrome-extension/public/icon-16.png from .gitignore — the file was previously blocked from being tracked

How to check the feature

Load the unpacked extension in Chrome (chrome://extensions → Load unpacked → dist/). Confirm no console warning about icon-16.png appears, and the 16px icon renders correctly in the browser toolbar/extensions page.

Reference

manifest.ts icon declaration:

icons: {
  128: 'icon-128.png',
  34:  'icon-34.png',
  16:  'icon-16.png',   // was missing from repo
},

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: insane66613 <8126035+insane66613@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix error loading icon icon-16.png Fix missing icon-16.png causing Chrome extension load error Mar 7, 2026
@insane66613
insane66613 marked this pull request as ready for review March 7, 2026 03:15
@insane66613
insane66613 merged commit 3ba6962 into main Mar 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants