Skip to content

Commit 3983c73

Browse files
committed
fix: Prevent conflict between parallel makers electron#3519
1 parent 7f7ad0b commit 3983c73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/maker/dmg/src/MakerDMG.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export default class MakerDMG extends MakerBase<MakerDMGConfig> {
1717

1818
async make({ dir, makeDir, appName, packageJSON, targetArch }: MakerOptions): Promise<string[]> {
1919
const { createDMG } = require('electron-installer-dmg');
20-
const dmgName = `${this.config.name || appName}_${targetArch}.dmg`
21-
const outPath = path.resolve(makeDir, dmgName);
20+
const dmgName = `${this.config.name || appName}_${targetArch}`;
21+
const outPath = path.resolve(makeDir, `${dmgName}.dmg`);
2222
const forgeDefaultOutPath = path.resolve(makeDir, `${appName}-${packageJSON.version}-${targetArch}.dmg`);
2323

2424
await this.ensureFile(outPath);

0 commit comments

Comments
 (0)