Skip to content

Commit

Permalink
Use SVG icon in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
leoheitmannruiz authored and philc committed Jul 16, 2024
1 parent a7b53cf commit 9801fa9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions icons/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@ function createFirefoxManifest(manifest) {
},
});

// Firefox supports SVG icons.
Object.assign(manifest, {
"icons": {
"16": "icons/icon.svg",
"32": "icons/icon.svg",
"48": "icons/icon.svg",
"64": "icons/icon.svg",
"96": "icons/icon.svg",
"128": "icons/icon.svg"
},
});

return manifest;
}

Expand Down

0 comments on commit 9801fa9

Please sign in to comment.