File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -35,4 +35,4 @@ export interface AdditionalDMGOptions {
35
35
'code-sign' ?: CodeSignOptions ;
36
36
}
37
37
38
- export type MakerDMGConfig = Omit < ElectronInstallerDMGOptions , 'name' | 'appPath' > & { name ?: string } ;
38
+ export type MakerDMGConfig = Omit < ElectronInstallerDMGOptions , 'name' | 'appPath' | 'out' > & { name ?: string } ;
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import fs from 'fs-extra';
6
6
7
7
import { MakerDMGConfig } from './Config' ;
8
8
9
+ import type { ElectronInstallerDMGOptions } from 'electron-installer-dmg' ;
10
+
9
11
export default class MakerDMG extends MakerBase < MakerDMGConfig > {
10
12
name = 'dmg' ;
11
13
@@ -22,7 +24,7 @@ export default class MakerDMG extends MakerBase<MakerDMGConfig> {
22
24
const forgeDefaultOutPath = path . resolve ( makeDir , `${ appName } -${ packageJSON . version } -${ targetArch } .dmg` ) ;
23
25
24
26
await this . ensureFile ( outPath ) ;
25
- const dmgConfig = {
27
+ const dmgConfig : ElectronInstallerDMGOptions = {
26
28
overwrite : true ,
27
29
name : appName ,
28
30
...this . config ,
You can’t perform that action at this time.
0 commit comments