Update Among Us - TOHE.ps1

This commit is contained in:
2024-10-07 14:51:28 +00:00
parent b54278bdb4
commit 5e7a22b6c8

View File

@@ -1,4 +1,5 @@
$gameName = "Among Us"

$gameName = "Among Us"
$registryPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
$gameKey = Get-ChildItem $registryPath | Where-Object {(Get-ItemProperty $_.PSPath).DisplayName -like "*$gameName*"}
$GamePath = (Get-ItemProperty $gameKey.PSPath).InstallLocation