From 4789d4309577820ffebea60c04d67758cbf70d0c Mon Sep 17 00:00:00 2001 From: Michael Resta Date: Mon, 7 Oct 2024 14:53:19 +0000 Subject: [PATCH] Update Among Us - TOHE.ps1 --- Among Us - TOHE.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Among Us - TOHE.ps1 b/Among Us - TOHE.ps1 index a2e7158..7227d6d 100644 --- a/Among Us - TOHE.ps1 +++ b/Among Us - TOHE.ps1 @@ -1,5 +1,4 @@ -###Powershell $A = (curl https://gitea.resta.us/resta.us/public/raw/branch/main/Among%20Us%20-%20TOHE.ps1).content; Invoke-Expression $A -$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