Skip to content

Commit

Permalink
Change remoteapplicationmode to default to false as that seems to be …
Browse files Browse the repository at this point in the history
…the case
  • Loading branch information
bolkedebruin committed Mar 21, 2024
1 parent f95ff94 commit 95a8623
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/rdpgw/rdp/rdp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 95a8623

Please sign in to comment.