fix: resupd clone data script wrong location

This commit is contained in:
Constrat
2024-09-24 17:08:44 +02:00
parent 43a9d2ec9f
commit 49aa88a35c

View File

@@ -1,7 +1,8 @@
$initialLocation = Get-Location
$scriptRoot = $PSScriptRoot
New-Item -ItemType Directory -Path "x64/Release/" -Force | Out-Null
Set-Location "x64/Release/"
New-Item -ItemType Directory -Path "$scriptRoot/x64/Release/" -Force | Out-Null
Set-Location "$scriptRoot/x64/Release/"
if (Test-Path -Path "Official") { Remove-Item "Official" -Recurse -Force }
if (Test-Path -Path "Overseas") { Remove-Item "Overseas" -Recurse -Force }