diff options
author | Joe <rbo@gmx.us> | 2024-02-01 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-02-01 20:20:20 +0100 |
commit | 1dd26784788b3351271943ba3b080928db0cd9f5 (patch) | |
tree | 0bbec66a58423d8ec4bc2b9b0a562f961cbbc0d1 /src/c_exec.go | |
parent | road (diff) | |
download | hardflip-1dd26784788b3351271943ba3b080928db0cd9f5.tar.gz hardflip-1dd26784788b3351271943ba3b080928db0cd9f5.tar.bz2 hardflip-1dd26784788b3351271943ba3b080928db0cd9f5.tar.xz hardflip-1dd26784788b3351271943ba3b080928db0cd9f5.tar.zst hardflip-1dd26784788b3351271943ba3b080928db0cd9f5.zip |
ye
Diffstat (limited to 'src/c_exec.go')
-rw-r--r-- | src/c_exec.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/c_exec.go b/src/c_exec.go index 46b9939..e8869f2 100644 --- a/src/c_exec.go +++ b/src/c_exec.go @@ -43,7 +43,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/c_exec.go - * Wed Jan 31 15:23:02 2024 + * Thu Feb 01 16:56:52 2024 * Joe * * exec the command at some point @@ -124,6 +124,11 @@ func c_format_rdp(host *HostNode, pass string) []string { if host.Dynamic == true { cmd_fmt = append(cmd_fmt, "/dynamic-resolution") } + if host.Drive != nil { + for share, path := range host.Drive { + cmd_fmt = append(cmd_fmt, "/drive:" + share + "," + path) + } + } if host.Quality == 0 { cmd_fmt = append(cmd_fmt, "-aero", "-menu-anims", "-window-drag", "-wallpaper", |