From e073802c5a68c888b760eb0a071e136ebbda5c2e Mon Sep 17 00:00:00 2001 From: SuspiciousActivity <38253929+SuspiciousActivity@users.noreply.github.com> Date: Wed, 15 Jun 2022 21:52:39 +0200 Subject: [PATCH] fix first start --- vallc.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vallc.ps1 b/vallc.ps1 index e9d9fd6..a8f90e3 100644 --- a/vallc.ps1 +++ b/vallc.ps1 @@ -229,7 +229,7 @@ try { $lastPatchUrl = '' # check if both lang files exist, if not download - if (!(Test-Path (-join($savePath, $savePakPath, $config.textLang, '_Text-WindowsClient.pak'))) -or !(Test-Path (-join($savePath, $savePakPath, $config.voiceLang, '_Text-WindowsClient.pak')))) { + if (Test-Path (-join($savePath, 'url.txt')) -and (!(Test-Path (-join($savePath, $savePakPath, $config.textLang, '_Text-WindowsClient.pak'))) -or !(Test-Path (-join($savePath, $savePakPath, $config.voiceLang, '_Text-WindowsClient.pak'))))) { Remove-Item (-join($savePath, 'url.txt')) }