Skip to content
Permalink
Browse files

fix(maker): allow Linux makers to run on non-Linux hosts if possible

  • Loading branch information
malept committed Aug 8, 2019
1 parent db0e50f commit c67596bbc02d1c97500ef18113d0d42c0270ae6b
@@ -20,7 +20,7 @@ export default class MakerDeb extends MakerBase<MakerDebConfig> {
defaultPlatforms: ForgePlatform[] = ['linux'];

isSupportedOnCurrentPlatform() {
return this.isInstalled('electron-installer-debian') && process.platform === 'linux';
return this.isInstalled('electron-installer-debian');
}

async make({
@@ -22,7 +22,7 @@ export default class MakerFlatpak extends MakerBase<MakerFlatpakConfig> {
defaultPlatforms: ForgePlatform[] = ['linux'];

isSupportedOnCurrentPlatform() {
return this.isInstalled('@malept/electron-installer-flatpak') && process.platform === 'linux';
return this.isInstalled('@malept/electron-installer-flatpak');
}

async make({
@@ -20,7 +20,7 @@ export default class MakerRpm extends MakerBase<MakerRpmConfig> {
defaultPlatforms: ForgePlatform[] = ['linux'];

isSupportedOnCurrentPlatform() {
return this.isInstalled('electron-installer-redhat') && process.platform === 'linux';
return this.isInstalled('electron-installer-redhat');
}

async make({

0 comments on commit c67596b

Please sign in to comment.
You can’t perform that action at this time.