diff --git a/packages/maker/deb/src/MakerDeb.ts b/packages/maker/deb/src/MakerDeb.ts index e967e315fe..a86394e2be 100644 --- a/packages/maker/deb/src/MakerDeb.ts +++ b/packages/maker/deb/src/MakerDeb.ts @@ -20,7 +20,7 @@ export default class MakerDeb extends MakerBase { defaultPlatforms: ForgePlatform[] = ['linux']; isSupportedOnCurrentPlatform() { - return this.isInstalled('electron-installer-debian') && process.platform === 'linux'; + return this.isInstalled('electron-installer-debian'); } async make({ diff --git a/packages/maker/flatpak/src/MakerFlatpak.ts b/packages/maker/flatpak/src/MakerFlatpak.ts index b14d6e2c38..36420ba0df 100644 --- a/packages/maker/flatpak/src/MakerFlatpak.ts +++ b/packages/maker/flatpak/src/MakerFlatpak.ts @@ -22,7 +22,7 @@ export default class MakerFlatpak extends MakerBase { defaultPlatforms: ForgePlatform[] = ['linux']; isSupportedOnCurrentPlatform() { - return this.isInstalled('@malept/electron-installer-flatpak') && process.platform === 'linux'; + return this.isInstalled('@malept/electron-installer-flatpak'); } async make({ diff --git a/packages/maker/rpm/src/MakerRpm.ts b/packages/maker/rpm/src/MakerRpm.ts index 9480b50263..58ebd5e82b 100644 --- a/packages/maker/rpm/src/MakerRpm.ts +++ b/packages/maker/rpm/src/MakerRpm.ts @@ -20,7 +20,7 @@ export default class MakerRpm extends MakerBase { defaultPlatforms: ForgePlatform[] = ['linux']; isSupportedOnCurrentPlatform() { - return this.isInstalled('electron-installer-redhat') && process.platform === 'linux'; + return this.isInstalled('electron-installer-redhat'); } async make({