Open
Description
I'm generating Setup Files witrh the Electron-Forge Squirrel Maker.
However after trying several things and seraching for similar Issues, its not possible to get the App Icon working.
It's still the default Package Icon, which shouldn't be there (see: Restaurant Companion.exe)
The Packaged App has the correct Icon assigned (Restaurant Companion.exe, squirrel.exe):
The Control Panel Icon is also correct:
My Forge Config:
const path = require('path');
const package = require('./package.json');
module.exports = {
packagerConfig: {
asar: true,
icon: path.resolve(__dirname, 'src', 'assets', 'images', 'icon.ico')
},
makers: [
{
name: '@electron-forge/maker-squirrel',
platforms: ['win32'],
config: (arch) => {
return {
name: 'RestaurantCompanion',
authors: 'Brogli Informatik GmbH',
exe: 'Restaurant Companion.exe',
noMsi: true,
remoteReleases: '',
loadingGif: path.resolve(__dirname, 'src', 'assets', 'images', 'setup-animation.gif'),
setupExe: `RestaurantCompanion-${package.version}-setup-${arch}.exe`,
setupIcon: path.resolve(__dirname, 'src', 'assets', 'images', 'icon.ico'),
iconUrl: "https://REMOVED/restaurant-companion/icon.ico",
signWithParams: process.env['WINDOWS_CODESIGN_ARGS']
}
}
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin', 'win32']
},
{
name: '@electron-forge/maker-deb',
platforms: ['linux']
},
{
name: '@electron-forge/maker-rpm',
platforms: ['linux']
}
]
};
Metadata
Metadata
Assignees
Labels
No labels