Skip to content

Build your personal knowledge base with Trilium Notes

Fix application icon

Elian Dorane9282976d5d1
diff --git a/forge.config.js b/forge.config.js
index b0e85e52ea..b5893ee666 100644
--- a/forge.config.js
+++ b/forge.config.js
@@ -1,6 +1,8 @@
module.exports = {
packagerConfig: {
asar: true,
+ // icon will break once we add .dmg support, since the .ico & .icns have to be in same dir (see https://www.electronforge.io/guides/create-and-add-icons#windows-and-macos)
+ icon: "./images/app-icons/win/icon"
},
rebuildConfig: {},
makers: [
@@ -8,9 +10,8 @@ module.exports = {
name: '@electron-forge/maker-squirrel',
config: {
setupIcon: "./images/app-icons/win/icon.ico",
- icon: "./images/app-icons/win/icon.ico",
loadingGif: "./images/app-icons/win/setup-banner.gif"
- },
+ }
},
{
name: '@electron-forge/maker-zip',