electerm 1.10.4 β†’ 1.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  # electerm
8
8
 
9
9
  [![GitHub version](https://img.shields.io/github/release/electerm/electerm/all.svg)](https://github.com/electerm/electerm/releases)
10
- [![Build Status](https://travis-ci.org/electerm/electerm.svg?branch=release)](https://travis-ci.org/electerm/electerm)
10
+ [![GitHub Actions](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fatrox%2Fsync-dotenv%2Fbadge)](https://github.com/electerm/electerm/actions)
11
11
  [![license](https://img.shields.io/github/license/electerm/electerm.svg)](https://github.com/electerm/electerm/blob/master/LICENSE)
12
12
  [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
13
13
  [![Get it from the Snap Store](https://img.shields.io/badge/Snap-Store-green)](https://snapcraft.io/electerm)
@@ -18,57 +18,79 @@ Terminal/ssh/sftp client(linux, mac, win) based on electron/ssh2/node-pty/xterm/
18
18
  <img src="https://github.com/electerm/electerm-resource/raw/master/static/images/electerm.gif", alt="" />
19
19
  </div>
20
20
 
21
+ ## Features
22
+
23
+ - Works as a terminal/file manager or ssh/sftp client(similar to xshell)
24
+ - Global hotkey to toggle window visibility (similar to guake, default is `ctrl + 2`)
25
+ - Multi platform(linux, mac, win)
26
+ - πŸ‡ΊπŸ‡Έ πŸ‡¨πŸ‡³ πŸ‡§πŸ‡· πŸ‡·πŸ‡Ί πŸ‡ͺπŸ‡Έ πŸ‡«πŸ‡· πŸ‡ΉπŸ‡· πŸ‡­πŸ‡° πŸ‡―πŸ‡΅ πŸ‡ΈπŸ‡¦ Multi-language support([electerm-locales](https://github.com/electerm/electerm-locales), contributions/fixes welcome)
27
+ - Double click to directly edit (small) remote files.
28
+ - Edit (small) local files with built-in editor.
29
+ - Auth with publicKey + password.
30
+ - Zmodem(rz, sz).
31
+ - Transparent window(Mac, win).
32
+ - Terminal background image.
33
+ - Global/session proxy.
34
+ - Quick commands
35
+ - Sync bookmarks/themes/quick commands to github/gitee secret gist
36
+ - ~~Serial Port support~~(removed after version 1.10.14)
37
+ - Quick input to one or all terminals.
38
+ - Command line usage: check [wiki](https://github.com/electerm/electerm/wiki/Command-line-usage)
39
+ - Zip/transfer/auto-unzip folders.
40
+
21
41
  ## Download/install
22
42
 
23
43
  - [https://electerm.github.io/electerm](https://electerm.github.io/electerm)
24
44
  - From release: [https://github.com/electerm/electerm/releases](https://github.com/electerm/electerm/releases)
25
- - For some linux OS, rpm pack may not work, you can try the `.snap` release.
26
- - For Mac user: `brew cask install electerm`
27
- - With snap: `sudo snap install electerm`
28
- - For Deepin Linux user, you can find it from App store.
45
+ - For Mac user: `brew install --cask electerm`
46
+ - With snap: `sudo snap install electerm --classic`
47
+ - For some Linux distribution, you can find it from OS default App store(Ubuntu, Deepin, Mint...).
48
+ - For some linux OS, the `rpm`, `deb`, or `snap` release may not work, you can try the `tar.gz` release.
49
+ - For Windows users, you can install it from [windows store](https://www.microsoft.com/store/apps/9NCN7272GTFF), command-line installer [winget](https://github.com/microsoft/winget-cli) and [scoop](https://github.com/lukesampson/scoop) is also recommended:
50
+
51
+ ```powershell
52
+ # winget https://github.com/microsoft/winget-cli
53
+ winget install electerm
54
+
55
+ # scoop https://github.com/lukesampson/scoop
56
+ scoop bucket add dorado https://github.com/chawyehsu/dorado
57
+ scoop install dorado/electerm
58
+ ```
59
+
29
60
  - Install from npm
30
61
 
31
62
  ```bash
32
63
  npm i -g electerm
33
64
 
34
- # after install it will open at once for windows and linux,
35
- # for mac, will open the drag to install panel
65
+ # after installation, it will immediately open for windows and linux,
66
+ # for macOS, it will open the drag to install panel
36
67
 
37
68
  ```
38
69
 
39
70
  ## Upgrade
40
71
 
41
- - Auto upgrade: When new version released, you will get upgrade notification after you start electerm again, then you click the upgrade button to upgrade.
72
+ - Auto upgrade: When a new version is released, you will get an upgrade notification after you start electerm again. You can then click the upgrade button to upgrade.
42
73
  - Download: Just download the latest edition, reinstall.
43
74
  - Npm: If you install from npm, just run `npm i -g electerm` again.
75
+ - If use Snap or some other distribution system, these systems may provide upgrades.
44
76
 
45
- ## Features
77
+ ## Known issues
46
78
 
47
- - Work as a terminal/file manager or ssh/sftp client(similar to xshell)
48
- - Global hotkey to toggle window visibility (simliar to guake, default is `ctrl + 2`)
49
- - Multi platform(linux, mac, win)
50
- - πŸ‡ΊπŸ‡Έ πŸ‡¨πŸ‡³ πŸ‡§πŸ‡· πŸ‡·πŸ‡Ί πŸ‡ͺπŸ‡Έ πŸ‡«πŸ‡· πŸ‡ΉπŸ‡· πŸ‡­πŸ‡° Support multi-language([electerm-locales](https://github.com/electerm/electerm-locales), contribute/fix welcome)
51
- - Double click to directly edit remote file(small ones).
52
- - Edit local file with built-in editor(small ones).
53
- - Auth with publickey + password.
54
- - Zmodem(rz, sz).
55
- - Transparent window(Mac, win).
56
- - Terminal background image.
57
- - Global/session proxy.
58
- - Quick commands
59
- - Sync bookmarks/themes/quick commands to github/gitee secret gist
60
- - Serial Port support
61
- - Quick input
79
+ [https://github.com/electerm/electerm/wiki/Know-issues](https://github.com/electerm/electerm/wiki/Know-issues)
80
+
81
+ ## Troubleshoot
82
+
83
+ [https://github.com/electerm/electerm/wiki/Troubleshoot](https://github.com/electerm/electerm/wiki/Troubleshoot)
62
84
 
63
85
  ## Support
64
86
 
65
- Without users's feedbacks/suggestions/pull requests/language files, this project would not get this far, would love to hear from you, please tell me what you think, [submit an issue](https://github.com/electerm/electerm/issues), [send me an email](mailto:zxdong@gmail.com), [create/fix language files](https://github.com/electerm/electerm-locales) or create a pull requests, all welcome.
87
+ Without user feedback/suggestions/pull requests/language files, this project would not get this far.I would love to hear from you, please tell me what you think, [submit an issue](https://github.com/electerm/electerm/issues), [send me an email](mailto:zxdong@gmail.com), [create/fix language files](https://github.com/electerm/electerm-locales) or create pull requests, all are welcome.
66
88
 
67
89
  ## Dev
68
90
 
69
91
  ```bash
70
92
  # tested in ubuntu16.04+/mac os 10.13+ only
71
- # need nodejs/npm, suggest using nvm to install nodejs/npm
93
+ # needs nodejs/npm, suggest using nvm to install nodejs/npm
72
94
  # https://github.com/creationix/nvm
73
95
  # with node 8.6+
74
96
 
@@ -76,13 +98,13 @@ git clone git@github.com:electerm/electerm.git
76
98
  cd electerm
77
99
  npm i
78
100
 
79
- # start webpack dev server, requires 5570 port
101
+ # start webpack dev server, requires port 5570
80
102
  npm start
81
103
 
82
104
  # in a separate terminal session run app
83
105
  npm run app
84
106
 
85
- # lint
107
+ # code format check
86
108
  npm run lint
87
109
 
88
110
  # code format fix
package/npm/install.js CHANGED
@@ -51,12 +51,11 @@ async function runLinux () {
51
51
  await down(releaseInfo.browser_download_url)
52
52
  // await down('http://192.168.0.67:7500/electerm-0.16.1.tar.gz')
53
53
  exec(`mv ${target} ${targetNew}`)
54
- exec(`echo "npm" > ${targetNew}/resources/install-src.txt`)
55
54
  exec('electerm')
56
55
  }
57
56
 
58
57
  async function runMac () {
59
- const releaseInfo = await getReleaseInfo(r => /\.dmg$/.test(r.name))
58
+ const releaseInfo = await getReleaseInfo(r => /mac-x64\.dmg$/.test(r.name))
60
59
  await down(releaseInfo.browser_download_url, false)
61
60
  // await down('http://192.168.0.67:7500/electerm-0.16.1-mac.dmg', false)
62
61
  const target = resolve(__dirname, '../', releaseInfo.name)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electerm",
3
- "version": "1.10.4",
3
+ "version": "1.18.3",
4
4
  "description": "Terminal/ssh/sftp client(linux, mac, win) based on electron/ssh2/node-pty/xterm/antd/subx and other libs",
5
5
  "main": "app.js",
6
6
  "bin": "npm/electerm",
@@ -10,6 +10,8 @@
10
10
  },
11
11
  "license": "MIT",
12
12
  "langugeRepo": "https://github.com/electerm/electerm-locales",
13
+ "privacyNoticeLink": "https://github.com/electerm/electerm/wiki/privacy-notice",
14
+ "knownIssuesLink": "https://github.com/electerm/electerm/wiki/Know-issues",
13
15
  "repository": {
14
16
  "type": "git",
15
17
  "url": "git+https://github.com/electerm/electerm.git"
@@ -46,7 +48,9 @@
46
48
  "MouseEvent",
47
49
  "WebSocket",
48
50
  "FileReader",
49
- "CustomEvent"
51
+ "CustomEvent",
52
+ "onmessage",
53
+ "self"
50
54
  ]
51
55
  }
52
56
  }