Skip to content

Commit

Permalink
Fix patch_robotgo.sh to use pinned version
Browse files Browse the repository at this point in the history
  • Loading branch information
sandro-h committed Jun 3, 2021
1 parent 66908f2 commit 0d0f585
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patch_robotgo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Patches the robotgo C code to support the GRALT key on Linux systems.
set -euo pipefail

go get github.com/go-vgo/robotgo
fq_robotgo=$(go mod graph | grep 'github.com/sandro-h/snippet github.com/go-vgo/robotgo' | awk '{print $2}')
go get "$fq_robotgo"

rebuild=false
ROBOTGO_DIR=$(readlink -f $(go env GOPATH)/pkg/mod/github.com/go-vgo/robotgo@v*)
Expand Down

0 comments on commit 0d0f585

Please sign in to comment.