mirror of
https://github.com/SuspiciousActivity/ValorantLanguageChanger.git
synced 2026-08-13 18:16:37 +00:00
fix and statement
This commit is contained in:
1 parent
314cc2f3b5
commit
fe6017240d
1 file changed
+1
-1
@@ -229,7 +229,7 @@ try {
|
||||
$lastPatchUrl = ''
|
||||
|
||||
# check if both lang files exist, if not download
|
||||
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'))))) {
|
||||
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'))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user