mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-30 07:26:35 +00:00
Change remoteapplicationmode to default to false as that seems to be the case
This commit is contained in:
@@ -86,7 +86,7 @@ type RdpSettings struct {
|
|||||||
RemoteAppExpandWorkingDir bool `rdp:"remoteapplicationexpandworkingdir" default:"true"`
|
RemoteAppExpandWorkingDir bool `rdp:"remoteapplicationexpandworkingdir" default:"true"`
|
||||||
RemoteApplicationFile string `rdp:"remoteapplicationfile" default:"true"`
|
RemoteApplicationFile string `rdp:"remoteapplicationfile" default:"true"`
|
||||||
RemoteApplicationIcon string `rdp:"remoteapplicationicon"`
|
RemoteApplicationIcon string `rdp:"remoteapplicationicon"`
|
||||||
RemoteApplicationMode bool `rdp:"remoteapplicationmode" default:"true"`
|
RemoteApplicationMode bool `rdp:"remoteapplicationmode" default:"false"`
|
||||||
RemoteApplicationName string `rdp:"remoteapplicationname"`
|
RemoteApplicationName string `rdp:"remoteapplicationname"`
|
||||||
RemoteApplicationProgram string `rdp:"remoteapplicationprogram"`
|
RemoteApplicationProgram string `rdp:"remoteapplicationprogram"`
|
||||||
}
|
}
|
||||||
@@ -114,6 +114,7 @@ func NewBuilderFromFile(filename string) (*Builder, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
t := koanf.UnmarshalConf{Tag: "rdp"}
|
t := koanf.UnmarshalConf{Tag: "rdp"}
|
||||||
|
|
||||||
if err := k.UnmarshalWithConf("", &c, t); err != nil {
|
if err := k.UnmarshalWithConf("", &c, t); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user