We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d467465 commit 7b19c16Copy full SHA for 7b19c16
1 file changed
space-engineers-torchdownloadplugins.ps1
@@ -3,7 +3,7 @@ New-Item -Path $pluginsDir -ItemType Directory -Force | Out-Null
3
4
# First arg controls overwrite
5
$overwrite = $args[0]
6
-$guids = $args[1..($args.Count - 1)] | ForEach-Object { $_.Trim() } | Where-Object { $_ -ne "" }
+$guids = $args[1] -split '\s+' | Where-Object { $_ -ne "" }
7
8
# Temp dir for downloads
9
$tempDir = Join-Path $env:TEMP ("torch_" + [guid]::NewGuid().ToString())
0 commit comments