From a27b3b84ac4dcefd9e6bbc4d7e4e2cb211cf9d01 Mon Sep 17 00:00:00 2001 From: Michael Resta Date: Mon, 7 Oct 2024 14:54:24 +0000 Subject: [PATCH] Update Among Us - TOHE.ps1 --- Among Us - TOHE.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Among Us - TOHE.ps1 b/Among Us - TOHE.ps1 index 7227d6d..13fe631 100644 --- a/Among Us - TOHE.ps1 +++ b/Among Us - TOHE.ps1 @@ -1,4 +1,8 @@ -$gameName = "Among Us" +#To Run this easily. Run the following command: +# 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" $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