Notes/forge.config.cjs

24 lines
622 B
JavaScript
Raw Normal View History

module.exports = {
packagerConfig: {
asar: true,
2023-11-08 23:53:08 +02:00
// 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: [
{
name: '@electron-forge/maker-squirrel',
2023-11-08 22:10:22 +02:00
config: {
2023-11-08 22:40:38 +02:00
setupIcon: "./images/app-icons/win/icon.ico",
2023-11-08 23:08:38 +02:00
loadingGif: "./images/app-icons/win/setup-banner.gif"
2023-11-08 23:53:08 +02:00
}
2023-11-09 20:04:07 +02:00
}
],
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {},
},
],
};