From 6a6e333a183aec2d46506b40b50a2b979997a910 Mon Sep 17 00:00:00 2001 From: fofolee Date: Thu, 14 Jan 2021 21:33:44 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=9B=BE=E6=A0=87=E5=8E=8B=E7=BC=A9?= =?UTF-8?q?=E5=B0=BA=E5=AF=B8=E6=94=B9=E4=B8=BA=2080?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preload.js b/src/preload.js index e5537b5..b9e4278 100644 --- a/src/preload.js +++ b/src/preload.js @@ -651,7 +651,7 @@ getBase64Ico = async filepath => { return compressedImage } -getCompressedIco = async (img, width = 40) => { +getCompressedIco = async (img, width = 80) => { let compressedImage = await pictureCompress({ img: img, width: width, height: width, type: 'png', quality: 1 }) return compressedImage.img }