aboutsummaryrefslogtreecommitdiffstats
path: root/c_parse.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c_parse.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/c_parse.go b/c_parse.go
index 83e10d4..d2f1580 100644
--- a/c_parse.go
+++ b/c_parse.go
@@ -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