Update vallc.ps1

This commit is contained in:
SuspiciousActivity authored and GitHub committed 2022-05-06 17:52:04 +02:00
1 parent d7dac50a3a
commit 7cb8f76488
1 file changed
+7
+7
View File
@@ -26,6 +26,13 @@ if ($args.count -eq 0) {
Exit Exit
} }
$checkBefore = Get-WmiObject -Class 'win32_process' -Filter 'name = "VALORANT.exe"'
if ($checkBefore) {
Write-Output 'Valorant is already running. Please close Valorant first.'
Read-Host 'Press enter to continue...'
Exit
}
# download/update lang files # download/update lang files
Write-Output 'Checking for new language files...' Write-Output 'Checking for new language files...'
try { try {