build(windows): fix deploy script
Change-Id: I4d7f04365c9753d383a28abd4ec68ce62e80ebff
diff --git a/copy-runtime-files.ps1 b/copy-runtime-files.ps1
index 09afa56..ac9ba58 100644
--- a/copy-runtime-files.ps1
+++ b/copy-runtime-files.ps1
@@ -17,13 +17,13 @@
}
}
-if (!$outDir) { $outDir = $clientDir + "\x64\" + $mode }
-If (!(test-path $outDir)) { New-Item -ItemType directory -Path $outDir -Force }
-
# default values
$qtver = If ($qtver) { $qtver } Else { "5.15.0" }
$mode = If ($mode) { $mode } Else { "Release" }
+if (!$outDir) { $outDir = $clientDir + "\x64\" + $mode }
+If (!(test-path $outDir)) { New-Item -ItemType directory -Path $outDir -Force }
+
$qtverSplit1, $qtverSplit2 , $qtverSplit3 = $qtver.Split('.')
$qtMsvcDir = "msvc2019_64"