Skip to content

Commit

Permalink
Use DetectSerialPort from tkeyclient
Browse files Browse the repository at this point in the history
Removes internal/util package
  • Loading branch information
mchack-work committed Jun 19, 2023
1 parent ea23ad4 commit 5d86a70
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 188 deletions.
20 changes: 0 additions & 20 deletions internal/util/notify_unix.go

This file was deleted.

45 changes: 0 additions & 45 deletions internal/util/notify_windows.go

This file was deleted.

74 changes: 0 additions & 74 deletions internal/util/ports.go

This file was deleted.

47 changes: 0 additions & 47 deletions internal/util/uss.go

This file was deleted.

3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
"syscall"

"github.com/spf13/pflag"
"github.com/tillitis/tkey-sign/internal/util"
"github.com/tillitis/tkeyclient"
"github.com/tillitis/tkeysign"
)
Expand Down Expand Up @@ -132,7 +131,7 @@ public key of the signer app on the TKey.`, os.Args[0])

if devPath == "" {
var err error
devPath, err = util.DetectSerialPort(true)
devPath, err = tkeyclient.DetectSerialPort(true)
if err != nil {
os.Exit(1)
}
Expand Down

0 comments on commit 5d86a70

Please sign in to comment.