Skip to content

Commit

Permalink
fix electerm#1470 [fix] Fix npm install script for windows (electerm#…
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdong262 authored Dec 20, 2019
1 parent 3ab8fc1 commit 43db2e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@
/.eslintignore
/.eslintrc
/.gitignore
/.travis.yml
/*.yml
/webpack.config.js
/work/
/package-bak.json
/temp/
/dist/
/.github/
*.log
/version
/*.env
/.env
/*.txt
2 changes: 1 addition & 1 deletion npm/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function runWin () {
target,
targetNew
])
const releaseInfo = await getReleaseInfo(r => /electerm-\d+\.\d+\.\d+-win\.tar\.gz/.test(r.name))
const releaseInfo = await getReleaseInfo(r => /electerm-\d+\.\d+\.\d+-win-x64\.tar\.gz/.test(r.name))
await down(releaseInfo.browser_download_url)
// await down('http://192.168.0.67:7500/electerm-0.16.1-win.tar.gz')
await mv(target, targetNew)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electerm",
"version": "0.27.98",
"version": "0.27.99",
"description": "Terminal/ssh/sftp client(linux, mac, win) based on electron/ssh2/node-pty/xterm/antd/subx and other libs",
"main": "dev-app.js",
"bin": "npm/electerm",
Expand Down

0 comments on commit 43db2e7

Please sign in to comment.