Skip to content

Commit

Permalink
upgrade trzsz to 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnywong committed Jul 30, 2023
1 parent 78b83f0 commit 383dee3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ _在作者的 MacOS 上,使用 `trzsz ssh` 的上传速度在 10 MB/s 左右

- Windows 可用 [scoop](https://scoop.sh/) / [winget](https://learn.microsoft.com/zh-cn/windows/package-manager/winget/) / [choco](https://community.chocolatey.org/) 安装

<details><summary><code>scoop install tssh</code></summary>
<details><summary><code>scoop install tssh</code> / <code>winget install tssh</code> / <code>choco install tssh</code></summary>

```sh
scoop bucket add extras
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
tssh (0.1.9) trusty; urgency=medium

* tssh v0.1.9

-- Lonny Wong <lonnywong@qq.com> Sun, 30 Jul 2023 21:15:29 +0800

tssh (0.1.8) trusty; urgency=medium

* tssh v0.1.8
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/trzsz/go-arg v1.5.2
github.com/trzsz/promptui v0.10.2
github.com/trzsz/ssh_config v1.3.1
github.com/trzsz/trzsz-go v1.1.4
github.com/trzsz/trzsz-go v1.1.5
golang.org/x/crypto v0.11.0
golang.org/x/sys v0.10.0
golang.org/x/term v0.10.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ github.com/trzsz/promptui v0.10.2 h1:yDbLo9IAShweuGLFtdq9lGD8x1yvAML/3uXiOtDgkqU
github.com/trzsz/promptui v0.10.2/go.mod h1:GMZtu6ZTzU73CBFkzGtmB4wnTROIAbv4GFA74fV8V8g=
github.com/trzsz/ssh_config v1.3.1 h1:J+P2U4BhsX2zwb9rb7OgRowMDHuIk8pHeWRH4e9U+2Y=
github.com/trzsz/ssh_config v1.3.1/go.mod h1:Dl1okTjVVfsrtTA8nqkJ1OnjiCrZY6DUEI2DGT2/YoQ=
github.com/trzsz/trzsz-go v1.1.4 h1:r33p69zGNWl43hdtMHbroD1l02+YXjdOjYMRPyVPpHg=
github.com/trzsz/trzsz-go v1.1.4/go.mod h1:kMIPDvZb04WSStbM8/zrpnEbCuAiCe+OjEasAC/O9/A=
github.com/trzsz/trzsz-go v1.1.5 h1:bmNPxs9cgs5gfhnjMMPQOeSSQP+crN/rSwKhDL80jk8=
github.com/trzsz/trzsz-go v1.1.5/go.mod h1:kMIPDvZb04WSStbM8/zrpnEbCuAiCe+OjEasAC/O9/A=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
Expand Down
6 changes: 3 additions & 3 deletions tssh/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
"golang.org/x/term"
)

const kTsshVersion = "0.1.8"
const kTsshVersion = "0.1.9"

func background(dest string) (bool, error) {
if v := os.Getenv("TRZSZ-SSH-BACKGROUND"); v == "TRUE" {
Expand Down Expand Up @@ -134,8 +134,8 @@ func TsshMain() int {

// cleanup on exit
defer func() {
for _, f := range onExitFuncs {
f()
for i := len(onExitFuncs) - 1; i >= 0; i-- {
onExitFuncs[i]()
}
}()

Expand Down

0 comments on commit 383dee3

Please sign in to comment.