Writing Makers
Method
Description
isSupportedOnCurrentPlatform(): boolean
isSupportedOnCurrentPlatform(): booleanexport default class MyMaker extends MakerBase {
isSupportedOnCurrentPlatform () {
return process.platform === 'linux' && this.isFakeRootInstalled();
}
isFakeRootInstalled () { /* ... */ }
}make(options: MakerOptions): Promise<string[]>
make(options: MakerOptions): Promise<string[]>Last updated
Was this helpful?