Skip to content

Commit

Permalink
fix(installer): remove flatpak check
Browse files Browse the repository at this point in the history
It appears that it's pretty nontrivial to install a single flatpak file without a flatpak

repository.
  • Loading branch information
malept authored and MarshallOfSound committed Dec 31, 2016
1 parent 9834cb1 commit 0b04413
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/electron-forge-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const main = async () => {
const installTargets = {
win32: [/\.exe$/],
darwin: [/OSX.*\.zip$/, /darwin.*\.zip$/, /macOS.*\.zip$/, /mac.*\.zip$/, /\.dmg$/],
linux: [/\.rpm$/, /\.deb$/, /\.flatpak$/],
linux: [/\.rpm$/, /\.deb$/],
};

const possibleAssets = assets.filter((asset) => {
Expand Down Expand Up @@ -138,9 +138,6 @@ const main = async () => {
linux: {
'.deb': linuxDebInstaller,
'.rpm': linuxRPMInstaller,
'.flatpak': async () => {
console.error('Not yet supported');
},
},
};

Expand Down

0 comments on commit 0b04413

Please sign in to comment.