Skip to content

Commit

Permalink
fix(maker): allow Linux makers to run on non-Linux hosts if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Aug 8, 2019
1 parent db0e50f commit 8e729a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/maker/deb/src/MakerDeb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/flatpak/src/MakerFlatpak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/rpm/src/MakerRpm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 8e729a1

Please sign in to comment.