From 034de8142285f7a2af8a201e94dd3d8b9ad48eaf Mon Sep 17 00:00:00 2001 From: Mario1159 Date: Tue, 12 Sep 2023 22:14:14 -0300 Subject: [PATCH] Add spaces to additional options --- run.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.ps1 b/run.ps1 index dddc5d5..4b9670a 100644 --- a/run.ps1 +++ b/run.ps1 @@ -33,7 +33,7 @@ if (!$containername) { $containername = $imagename } $additionaloptions = '' if($remote) { $image = "git.1159.cl/mario1159/$imagename" - $additionaloptions = '--pull-always' + $additionaloptions = '--pull always ' } else { $image = $imagename } @@ -44,7 +44,7 @@ $response = Read-Host "Do you want to bind the container home directory into a w if ($response -eq 'y') { $directory = Read-Host "Write the windows directory destination relative to WSL, for example `"/mnt/c/Users/Username/Desktop/ExampleFolder`"`n" mkdir -Force $directory | Out-Null - $additionaloptions = -join($additionaloptions, "-v ${directory}:/home/designer/shared") + $additionaloptions = -join($additionaloptions, "-v ${directory}:/home/designer/shared ") } $response = Read-Host -Prompt "Do you want to set additional arguments for the container instantiation? [N/y]"