From 65a15724a3f0adb7d0c7db9d904376fd2401e53d Mon Sep 17 00:00:00 2001 From: Molunerfinn Date: Sun, 8 Apr 2018 10:27:41 +0800 Subject: [PATCH] Fixed: #34 | macOS menubar drag file error --- src/main/utils/img2base64.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/utils/img2base64.js b/src/main/utils/img2base64.js index 81dbffc..061987f 100644 --- a/src/main/utils/img2base64.js +++ b/src/main/utils/img2base64.js @@ -15,7 +15,7 @@ const imgFromPath = async (imgPath) => { fileName, width: imgSize.width, height: imgSize.height, - extname: path.extname(item.name) + extname: path.extname(item) }) })) return results