aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_exec.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/c_exec.go7
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",