mirror of
https://github.com/SuspiciousActivity/ValorantLanguageChanger.git
synced 2026-08-13 18:16:37 +00:00
Update vallc.ps1
This commit is contained in:
1 parent
d7dac50a3a
commit
7cb8f76488
1 file changed
+7
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user