فهرست منبع

fix: add 64px icon to `gulpfile.js` and `manifest.yml` (#2242)

Patrick Mang 10 ماه پیش
والد
کامیت
afe97f67e3
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      gulpfile.js
  2. 1 0
      src/manifest.yml

+ 1 - 1
gulpfile.js

@@ -101,7 +101,7 @@ async function createIcons() {
     // 32px dashboard icon (recycled) + 2xDPI browser_action desktop
     // 38px dashboard icon (normal) + 1.5xDPI browser_action Android
     // 48px 2xDPI browser_action Android
-    ...[32, 38, 48].flatMap(size => types.map(t => handle(size, ...t))),
+    ...[32, 38, 48, 64].flatMap(size => types.map(t => handle(size, ...t))),
   ]);
 }
 

+ 1 - 0
src/manifest.yml

@@ -16,6 +16,7 @@ browser_action:
     '32': public/images/icon32b.png
     '38': public/images/icon38b.png # for Android 1.5xDPI
     '48': public/images/icon48b.png # for Android 2xDPI
+    '64': public/images/icon64b.png
   default_title: __MSG_extName__
   default_popup: popup/index.html
 background: