Skip to content

Commit

Permalink
screenshot库更名为rdesktop
Browse files Browse the repository at this point in the history
  • Loading branch information
lwch committed Dec 7, 2021
1 parent e2317a3 commit 2903992
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

# v0.7.2

1. 截屏库统一抽取到https://github.com/lwch/screenshot
1. 截屏库统一抽取到https://github.com/lwch/rdesktop
2. 修正windows下的错误日志显示格式问题
3. 修正windows下的配置文件include问题
4. 支持linux远程桌面
Expand Down
6 changes: 3 additions & 3 deletions code/client/rule/vnc/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ import (

"github.com/gorilla/websocket"
"github.com/lwch/logging"
"github.com/lwch/rdesktop"
"github.com/lwch/runtime"
"github.com/lwch/screenshot"
"google.golang.org/protobuf/proto"
)

// Worker worker object
type Worker struct {
cli *screenshot.Client
cli *rdesktop.Client
}

// NewWorker create worker
func NewWorker(showCursor bool) *Worker {
worker := &Worker{}
cli, err := screenshot.New()
cli, err := rdesktop.New()
if err != nil {
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require (
github.com/kardianos/service v1.2.0
github.com/kisielk/errcheck v1.6.0 // indirect
github.com/lwch/logging v0.0.0-20211203094902-ecb971ed7cdc
github.com/lwch/rdesktop v0.0.0-20211207101551-b892a4a5e2b5
github.com/lwch/runtime v0.0.0-20190520054850-8c97e19e0c6d
github.com/lwch/screenshot v0.0.0-20211206103848-76650b4ecab9
github.com/lwch/yaml v0.0.0-20211206085137-772f80e85a26
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ github.com/kisielk/errcheck v1.6.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI
github.com/lwch/logging v0.0.0-20211115073745-0db19179db17/go.mod h1:aXQui5bsF/d4I+z6szuiBWY5m4y9t6pyZ2Q/sLgkBBg=
github.com/lwch/logging v0.0.0-20211203094902-ecb971ed7cdc h1:QHC/AggBsu39IWcbzjgIc2ApNXuWhZhD1ieCkFgWfeM=
github.com/lwch/logging v0.0.0-20211203094902-ecb971ed7cdc/go.mod h1:aXQui5bsF/d4I+z6szuiBWY5m4y9t6pyZ2Q/sLgkBBg=
github.com/lwch/rdesktop v0.0.0-20211207101551-b892a4a5e2b5 h1:RF5uIUO37p6WVgqd3mrkPLYNvJCBHs9sOpBsbTYdzO4=
github.com/lwch/rdesktop v0.0.0-20211207101551-b892a4a5e2b5/go.mod h1:vZtkNUaG1bDuzJavu8OQQoBbHVS6cYJE7y4oxtmhYYM=
github.com/lwch/runtime v0.0.0-20190520054850-8c97e19e0c6d h1:Xg+zzPtvX22DaoJD5Bp0tqPdB8gn5WypghIJ4fluqiQ=
github.com/lwch/runtime v0.0.0-20190520054850-8c97e19e0c6d/go.mod h1:uEt0zu1MDC7WnVvodPBGSYAD/KMKk0v36xE8UE5veM8=
github.com/lwch/screenshot v0.0.0-20211206103848-76650b4ecab9 h1:p6QARj6O5STLXui/6obRLiu5Rt5hoOR6hkO4qTnH+Gw=
github.com/lwch/screenshot v0.0.0-20211206103848-76650b4ecab9/go.mod h1:53CAW8vbtggX17xhPbPmJX9UKpP3+Ry/lBwS6uxpJQc=
github.com/lwch/yaml v0.0.0-20211206085137-772f80e85a26 h1:sR3nbPhdfstDxYLp7c1EnsKH3z8+u+wgnhC3AI9/qf0=
github.com/lwch/yaml v0.0.0-20211206085137-772f80e85a26/go.mod h1:Dz0eixDQvioB5pqCXGQJ6sTJetbS6TCHegLuRh2Bw2U=
github.com/lxn/win v0.0.0-20210218163916-a377121e959e h1:H+t6A/QJMbhCSEH5rAuRxh+CtW96g0Or0Fxa9IKr4uc=
Expand Down

0 comments on commit 2903992

Please sign in to comment.