From 95a8623cb653870eeb0d58e77635cd3b20c4315d Mon Sep 17 00:00:00 2001 From: Bolke de Bruin Date: Thu, 21 Mar 2024 15:35:45 +0100 Subject: [PATCH] Change remoteapplicationmode to default to false as that seems to be the case --- cmd/rdpgw/rdp/rdp.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/rdpgw/rdp/rdp.go b/cmd/rdpgw/rdp/rdp.go index 664bc15..9b545a9 100644 --- a/cmd/rdpgw/rdp/rdp.go +++ b/cmd/rdpgw/rdp/rdp.go @@ -86,7 +86,7 @@ type RdpSettings struct { RemoteAppExpandWorkingDir bool `rdp:"remoteapplicationexpandworkingdir" default:"true"` RemoteApplicationFile string `rdp:"remoteapplicationfile" default:"true"` RemoteApplicationIcon string `rdp:"remoteapplicationicon"` - RemoteApplicationMode bool `rdp:"remoteapplicationmode" default:"true"` + RemoteApplicationMode bool `rdp:"remoteapplicationmode" default:"false"` RemoteApplicationName string `rdp:"remoteapplicationname"` RemoteApplicationProgram string `rdp:"remoteapplicationprogram"` } @@ -114,6 +114,7 @@ func NewBuilderFromFile(filename string) (*Builder, error) { return nil, err } t := koanf.UnmarshalConf{Tag: "rdp"} + if err := k.UnmarshalWithConf("", &c, t); err != nil { return nil, err }