mirror of https://github.com/jetkvm/kvm.git
Compare commits
4 Commits
94e181ba0c
...
3c96cee12a
Author | SHA1 | Date |
---|---|---|
|
3c96cee12a | |
|
d54568642b | |
|
c9068af568 | |
|
558dd43a93 |
|
@ -4,7 +4,7 @@
|
|||
"features": {
|
||||
"ghcr.io/devcontainers/features/node:1": {
|
||||
// Should match what is defined in ui/package.json
|
||||
"version": "21.1.0"
|
||||
"version": "22.15.0"
|
||||
}
|
||||
},
|
||||
"mounts": [
|
||||
|
|
|
@ -200,6 +200,14 @@ func (u *UsbGadget) Init() error {
|
|||
u.log.Error().Err(err).Msg("failed to mount configfs, usb stack might not function properly")
|
||||
}
|
||||
|
||||
if _, err := os.Stat(u.configC1Path); err == nil {
|
||||
u.log.Error().Str("configC1Path", u.configC1Path).Msg("removing existing config path")
|
||||
err := os.RemoveAll(u.configC1Path);
|
||||
if err != nil {
|
||||
u.log.Error().Err(err).Msg("failed to remove existing config path")
|
||||
}
|
||||
}
|
||||
|
||||
if err := os.MkdirAll(u.configC1Path, 0755); err != nil {
|
||||
u.log.Error().Err(err).Msg("failed to create config path")
|
||||
}
|
||||
|
|
|
@ -243,6 +243,7 @@ export const keyDisplayMap: Record<string, string> = {
|
|||
Escape: "esc",
|
||||
Tab: "tab",
|
||||
Backspace: "backspace",
|
||||
"(Backspace)": "backspace",
|
||||
Enter: "enter",
|
||||
CapsLock: "caps lock",
|
||||
ShiftLeft: "shift",
|
||||
|
|
Loading…
Reference in New Issue