From 49aa88a35c77aa7bec73306e544874eaacc271da Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com.> Date: Tue, 24 Sep 2024 17:08:44 +0200 Subject: [PATCH] fix: resupd clone data script wrong location --- tools/ResourceUpdater/clone_data_repo.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/ResourceUpdater/clone_data_repo.ps1 b/tools/ResourceUpdater/clone_data_repo.ps1 index 80f05b64d7..02e7474066 100644 --- a/tools/ResourceUpdater/clone_data_repo.ps1 +++ b/tools/ResourceUpdater/clone_data_repo.ps1 @@ -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 }