Update Among Us - TOHE.ps1
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
$gameName = "Among Us"
|
|
||||||
|
$gameName = "Among Us"
|
||||||
$registryPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
|
$registryPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
|
||||||
$gameKey = Get-ChildItem $registryPath | Where-Object {(Get-ItemProperty $_.PSPath).DisplayName -like "*$gameName*"}
|
$gameKey = Get-ChildItem $registryPath | Where-Object {(Get-ItemProperty $_.PSPath).DisplayName -like "*$gameName*"}
|
||||||
$GamePath = (Get-ItemProperty $gameKey.PSPath).InstallLocation
|
$GamePath = (Get-ItemProperty $gameKey.PSPath).InstallLocation
|
||||||
|
|||||||
Reference in New Issue
Block a user