mirror of https://github.com/jetkvm/kvm.git
Compare commits
4 Commits
afb146d78c
...
27750b9cc2
| Author | SHA1 | Date |
|---|---|---|
|
|
27750b9cc2 | |
|
|
5112bef19c | |
|
|
1ffdca4fd6 | |
|
|
c6dba4d59f |
14
Makefile
14
Makefile
|
|
@ -1,9 +1,9 @@
|
||||||
BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
|
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||||
BUILDDATE ?= $(shell date -u +%FT%T%z)
|
BUILDDATE := $(shell date -u +%FT%T%z)
|
||||||
BUILDTS ?= $(shell date -u +%s)
|
BUILDTS := $(shell date -u +%s)
|
||||||
REVISION ?= $(shell git rev-parse HEAD)
|
REVISION := $(shell git rev-parse HEAD)
|
||||||
VERSION_DEV ?= 0.4.7-dev$(shell date +%Y%m%d%H%M)
|
VERSION_DEV := 0.4.8-dev$(shell date +%Y%m%d%H%M)
|
||||||
VERSION ?= 0.4.6
|
VERSION := 0.4.7
|
||||||
|
|
||||||
PROMETHEUS_TAG := github.com/prometheus/common/version
|
PROMETHEUS_TAG := github.com/prometheus/common/version
|
||||||
KVM_PKG_NAME := github.com/jetkvm/kvm
|
KVM_PKG_NAME := github.com/jetkvm/kvm
|
||||||
|
|
@ -80,7 +80,7 @@ frontend:
|
||||||
-exec sh -c 'gzip -9 -kfv {}' \;
|
-exec sh -c 'gzip -9 -kfv {}' \;
|
||||||
|
|
||||||
dev_release: frontend build_dev
|
dev_release: frontend build_dev
|
||||||
@echo "Uploading release..."
|
@echo "Uploading release... $(VERSION_DEV)"
|
||||||
@shasum -a 256 bin/jetkvm_app | cut -d ' ' -f 1 > bin/jetkvm_app.sha256
|
@shasum -a 256 bin/jetkvm_app | cut -d ' ' -f 1 > bin/jetkvm_app.sha256
|
||||||
rclone copyto bin/jetkvm_app r2://jetkvm-update/app/$(VERSION_DEV)/jetkvm_app
|
rclone copyto bin/jetkvm_app r2://jetkvm-update/app/$(VERSION_DEV)/jetkvm_app
|
||||||
rclone copyto bin/jetkvm_app.sha256 r2://jetkvm-update/app/$(VERSION_DEV)/jetkvm_app.sha256
|
rclone copyto bin/jetkvm_app.sha256 r2://jetkvm-update/app/$(VERSION_DEV)/jetkvm_app.sha256
|
||||||
|
|
|
||||||
|
|
@ -1168,6 +1168,8 @@ var rpcHandlers = map[string]RPCHandler{
|
||||||
"renewDHCPLease": {Func: rpcRenewDHCPLease},
|
"renewDHCPLease": {Func: rpcRenewDHCPLease},
|
||||||
"getKeyboardLedState": {Func: rpcGetKeyboardLedState},
|
"getKeyboardLedState": {Func: rpcGetKeyboardLedState},
|
||||||
"getKeyDownState": {Func: rpcGetKeysDownState},
|
"getKeyDownState": {Func: rpcGetKeysDownState},
|
||||||
|
"keyboardReport": {Func: rpcKeyboardReport, Params: []string{"modifier", "keys"}},
|
||||||
|
"keypressReport": {Func: rpcKeypressReport, Params: []string{"key", "press"}},
|
||||||
"absMouseReport": {Func: rpcAbsMouseReport, Params: []string{"x", "y", "buttons"}},
|
"absMouseReport": {Func: rpcAbsMouseReport, Params: []string{"x", "y", "buttons"}},
|
||||||
"relMouseReport": {Func: rpcRelMouseReport, Params: []string{"dx", "dy", "buttons"}},
|
"relMouseReport": {Func: rpcRelMouseReport, Params: []string{"dx", "dy", "buttons"}},
|
||||||
"wheelReport": {Func: rpcWheelReport, Params: []string{"wheelY"}},
|
"wheelReport": {Func: rpcWheelReport, Params: []string{"wheelY"}},
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ video::-webkit-media-controls {
|
||||||
}
|
}
|
||||||
|
|
||||||
.simple-keyboard-arrows .hg-button {
|
.simple-keyboard-arrows .hg-button {
|
||||||
@apply flex w-[50px] grow-0 items-center justify-center;
|
@apply flex w-[50px] items-center justify-center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.controlArrows {
|
.controlArrows {
|
||||||
|
|
@ -264,7 +264,7 @@ video::-webkit-media-controls {
|
||||||
}
|
}
|
||||||
|
|
||||||
.simple-keyboard-control .hg-button {
|
.simple-keyboard-control .hg-button {
|
||||||
@apply flex w-[50px] grow-0 items-center justify-center;
|
@apply flex w-[50px] items-center justify-center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.numPad {
|
.numPad {
|
||||||
|
|
@ -332,7 +332,7 @@ video::-webkit-media-controls {
|
||||||
|
|
||||||
.keyboard-detached .simple-keyboard.hg-theme-default div.hg-button {
|
.keyboard-detached .simple-keyboard.hg-theme-default div.hg-button {
|
||||||
text-wrap: auto;
|
text-wrap: auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
min-width: 6ch;
|
min-width: 6ch;
|
||||||
}
|
}
|
||||||
.keyboard-detached .simple-keyboard.hg-theme-default .hg-button span {
|
.keyboard-detached .simple-keyboard.hg-theme-default .hg-button span {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue