MakerDMG config requiring appPath
even thought it is never used in typescript project
#3712
Open
3 tasks done
Labels
Pre-flight checklist
Electron Forge version
7.5.0
Electron version
v32.1.1
Operating system
macOS 15.1 Beta (24B5046f)
Last known working Electron Forge version
7.4.0
Expected behavior
Being able to create a DMG installer without having to specify a fake
appPath
in config needing to satisfy type check.Actual behavior
Additional config property
appPath
being needed to add to the config to satisfy type check. ThisappPath
is never used for anything other than to satisfy the type check asappPath
is always overridden in themake
method.forge/packages/maker/dmg/src/MakerDMG.ts
Line 29 in 420458b
Steps to reproduce
@electron-forge/[email protected]
topackage.json
in a typescript forge project.MakerDMG
toforge.config.ts
with empty config object, typescript will complain aboutappPath
not being present.Additional information
875ee54 upgraded
electron-installer-dmg
from 4.0.0 to 5.0.1.MakerDMGConfig
was modified to extendElectronInstallerDMGOptions
fromelectron-installer-dmg
, which requiresappPath
by default to be included in the config.The text was updated successfully, but these errors were encountered: