mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-03 07:33:55 +00:00
commit
fa8bd3612f
@ -1,5 +1,5 @@
|
|||||||
# FROM golang:1.10.1
|
# FROM golang:1.10.1
|
||||||
FROM golang:1.15.8-stretch AS build
|
FROM golang:1.16.2-stretch AS build
|
||||||
# FROM govgo/go:1.11.1
|
# FROM govgo/go:1.11.1
|
||||||
|
|
||||||
RUN apt update && apt install -y --no-install-recommends \
|
RUN apt update && apt install -y --no-install-recommends \
|
||||||
|
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
@ -10,10 +10,10 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.15
|
- name: Set up Go 1.16
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v1
|
||||||
with:
|
with:
|
||||||
go-version: 1.15
|
go-version: 1.16
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
|
@ -13,7 +13,8 @@ go:
|
|||||||
# - 1.12.x
|
# - 1.12.x
|
||||||
# - 1.13.x
|
# - 1.13.x
|
||||||
# - 1.14.x
|
# - 1.14.x
|
||||||
- 1.15.x
|
# - 1.15.x
|
||||||
|
- 1.16.x
|
||||||
# - tip
|
# - tip
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
|
@ -34,7 +34,7 @@ environment:
|
|||||||
PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
|
PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
|
||||||
# - COMPILER: MINGW_W64
|
# - COMPILER: MINGW_W64
|
||||||
# ARCHITECTURE: x64
|
# ARCHITECTURE: x64
|
||||||
GOVERSION: 1.15.8
|
GOVERSION: 1.16.2
|
||||||
# GOPATH: c:\gopath
|
# GOPATH: c:\gopath
|
||||||
|
|
||||||
# scripts that run after cloning repository
|
# scripts that run after cloning repository
|
||||||
|
@ -16,7 +16,10 @@ func colorPicker() {
|
|||||||
fmt.Println("color: #", clo)
|
fmt.Println("color: #", clo)
|
||||||
|
|
||||||
// clipboard
|
// clipboard
|
||||||
robotgo.WriteAll("#" + clo)
|
err := robotgo.WriteAll("#" + clo)
|
||||||
|
if err != nil {
|
||||||
|
fmt.Println("err: ", err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ func cilp() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("robotgo.ReadAll err is: ", err)
|
fmt.Println("robotgo.ReadAll err is: ", err)
|
||||||
}
|
}
|
||||||
fmt.Println(text)
|
fmt.Println("text: ", text)
|
||||||
}
|
}
|
||||||
|
|
||||||
func key() {
|
func key() {
|
||||||
|
@ -70,7 +70,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// Version get the robotgo version
|
// Version get the robotgo version
|
||||||
Version = "v0.91.0.1089, MT. Rainier!"
|
Version = "v0.93.1.1189, MT. Rainier!"
|
||||||
)
|
)
|
||||||
|
|
||||||
// GetVersion get the robotgo version
|
// GetVersion get the robotgo version
|
||||||
|
Loading…
Reference in New Issue
Block a user