Skip to content

Commit

Permalink
fix: updater checking wrong file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksey-hoffman committed Jun 22, 2021
1 parent 9241bd4 commit b2afc2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/sigmaAppUpdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class SigmaAppUpdater {

getExt () {
if (process.platform === 'win32') { return 'exe' }
else if (process.platform === 'darwin') { return 'dmg' }
else if (process.platform === 'linux') { return 'deb' }
else if (process.platform === 'darwin') { return 'pkg' }
else if (process.platform === 'linux') { return 'AppImage' }
}

getLatestReleaseData (data, params) {
Expand Down

0 comments on commit b2afc2e

Please sign in to comment.