fix first start

This commit is contained in:
SuspiciousActivity authored and GitHub committed 2022-06-15 21:52:39 +02:00
1 parent 118671e09f
commit e073802c5a
1 file changed
+1 -1
+1 -1
View File
@@ -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'))
}