@electron-forge/maker-base
.MakerBase
class has some helper methods for your convenience. Check out the interface of MakerBase
for more advanced API details.ensureDirectory(path)
ensureFile(path)
isInstalled(moduleName)
isSupportedOnCurrentPlatform(): boolean
process.platform
check but it can be a deeper check for dependencies like fake-root
or other required external build tools.make(options: MakerOptions): Promise<string[]>
make
process.config
for the maker will be available on this.config
.