|
|
@@ -91,6 +91,7 @@ export function createElectronBuilderConfig(
|
|
|
{ from: join(buildPaths.dsh, 'node_modules'), to: 'dsh/node_modules' },
|
|
|
],
|
|
|
mac: {
|
|
|
+ icon: fileURLToPath(new URL('./resources/icon-macos.png', import.meta.url)),
|
|
|
category: 'public.app-category.developer-tools',
|
|
|
identity: macOSSigning?.signingIdentity,
|
|
|
forceCodeSigning: true,
|
|
|
@@ -133,6 +134,7 @@ export function createElectronBuilderConfig(
|
|
|
)
|
|
|
},
|
|
|
win: {
|
|
|
+ icon: fileURLToPath(new URL('./resources/icon-windows.png', import.meta.url)),
|
|
|
forceCodeSigning: !unsigned,
|
|
|
signtoolOptions: {
|
|
|
sign: windowsSigner,
|
|
|
@@ -145,6 +147,8 @@ export function createElectronBuilderConfig(
|
|
|
target: ['AppImage'],
|
|
|
},
|
|
|
nsis: {
|
|
|
+ installerSidebar: join(buildPaths.root, 'installer-ui', 'uninstaller-sidebar.bmp'),
|
|
|
+ uninstallerSidebar: join(buildPaths.root, 'installer-ui', 'uninstaller-sidebar.bmp'),
|
|
|
include: fileURLToPath(new URL('./scripts/installer.nsh', import.meta.url)),
|
|
|
oneClick: false,
|
|
|
perMachine: false,
|