Linux kebab-case exe, autoUpdate on wix

This commit is contained in:
Pierre Jacquier
2024-08-26 05:25:50 -04:00
parent e2d68c6ca2
commit e0eb254453

View File

@ -23,7 +23,7 @@ const config: ForgeConfig = {
teamId: process.env.APPLE_TEAM_ID || '',
}) ||
undefined,
executableName: 'Zoo Modeling App',
executableName: process.platform === 'linux' ? 'zoo-modeling-app' : 'Zoo Modeling App',
icon: path.resolve(rootDir, 'assets', 'icon'),
},
rebuildConfig: {},
@ -33,7 +33,12 @@ const config: ForgeConfig = {
remoteReleases: `https://${process.env.WEBSITE_DIR}/win32/${arch}`,
setupIcon: path.resolve(rootDir, 'assets', 'icon.ico'),
})),
new MakerWix(),
new MakerWix({
features: {
autoLaunch: true,
autoUpdate: true,
},
}),
new MakerDMG(),
new MakerZIP(
(arch) => ({