From 47223cafa2b0afa1fbb7463dbcf01dcd80dba978 Mon Sep 17 00:00:00 2001 From: seven Date: Sun, 21 Jan 2024 13:36:14 +0800 Subject: [PATCH] feat: fix deb logo path issue Signed-off-by: seven --- forge.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/forge.config.js b/forge.config.js index fcf5618..6a9c8b1 100644 --- a/forge.config.js +++ b/forge.config.js @@ -7,6 +7,7 @@ module.exports = { packagerConfig: { asar: true, productName: 'DocKit', + icon: iconPath, }, rebuildConfig: {}, makers: [ @@ -26,7 +27,7 @@ module.exports = { { name: '@electron-forge/maker-deb', config: { - options: { maintainer: author, homepage, icon: iconPath }, + options: { maintainer: author, homepage, icon: `${iconPath}.png` }, }, }, {