Skip to content

Commit

Permalink
fix #1214 [fix] Fix upgrade download in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdong262 committed Apr 17, 2019
1 parent 2339630 commit 1dcaca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/server/download-upgrade.js
Expand Up @@ -45,7 +45,7 @@ class Upgrade {
r.name.includes('linux')
}
if (isWin) {
filter = r => /electerm-\d+\.\d+\.\d+-win\.tar\.gz/.test(r.name)
filter = r => /electerm-\d+\.\d+\.\d+-win-x64\.tar\.gz/.test(r.name)
} else if (isMac) {
filter = r => /\.dmg$/.test(r.name)
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "electerm",
"version": "0.27.10",
"version": "0.27.11",
"description": "Terminal/ssh/sftp client(linux, mac, win) based on electron/ssh2/node-pty/xterm/antd and other libs",
"main": "dev-app.js",
"bin": "npm/electerm",
Expand Down

0 comments on commit 1dcaca9

Please sign in to comment.