diff options
author | Joe <rbo@gmx.us> | 2023-12-19 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-19 20:20:20 +0100 |
commit | 6d39f339ea7b3d88e613cbf65cf71bc9f79033a8 (patch) | |
tree | 03f560490a590b1d6d2326185ba330bebd3d0f67 /c_parse.go | |
parent | fire (diff) | |
download | hardflip-6d39f339ea7b3d88e613cbf65cf71bc9f79033a8.tar.gz hardflip-6d39f339ea7b3d88e613cbf65cf71bc9f79033a8.tar.bz2 hardflip-6d39f339ea7b3d88e613cbf65cf71bc9f79033a8.tar.xz hardflip-6d39f339ea7b3d88e613cbf65cf71bc9f79033a8.tar.zst hardflip-6d39f339ea7b3d88e613cbf65cf71bc9f79033a8.zip |
rdp support
Diffstat (limited to '')
-rw-r--r-- | c_parse.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -84,14 +84,17 @@ func c_read_yaml_file(file string) *HostNode { } } } else if host.Type == 1 { + if len(host.User) == 0 { + host.User = "Administrator" + } if host.Port == 0 { host.Port = 3389 } if host.Width == 0 { - host.Width = 800 + host.Width = 1600 } if host.Height == 0 { - host.Height = 600 + host.Height = 1200 } } else if host.Type > 1 { return nil |