fix target names

This commit is contained in:
Ramnique Singh 2026-02-06 07:12:58 +05:30
parent 269787a013
commit 116ebce184

View file

@ -3,6 +3,7 @@
// Forge loads configs with require(), which fails on ESM files
const path = require('path');
const pkg = require('./package.json');
module.exports = {
packagerConfig: {
@ -36,7 +37,7 @@ module.exports = {
name: '@electron-forge/maker-dmg',
config: (arch) => ({
format: 'ULFO',
name: `Rowboat-darwin-${arch}`, // Architecture-specific name to avoid conflicts
name: `Rowboat-darwin-${arch}-${pkg.version}`, // Architecture-specific name to avoid conflicts
})
},
{
@ -45,7 +46,7 @@ module.exports = {
authors: 'rowboatlabs',
description: 'AI coworker with memory',
name: `Rowboat-win32-${arch}`,
setupExe: `Rowboat-win32-${arch}`,
setupExe: `Rowboat-win32-${arch}-${pkg.version}-setup.exe`,
})
},
{