Update Among Us - TOHE.ps1

This commit is contained in:
2025-06-22 19:13:19 +00:00
parent 43c3bf19b3
commit 36e92381d4

View File

@@ -9,7 +9,7 @@ $gameKey = Get-ChildItem $registryPath | Where-Object {(Get-ItemProperty $_.PSPa
$GamePath = (Get-ItemProperty $gameKey.PSPath).InstallLocation $GamePath = (Get-ItemProperty $gameKey.PSPath).InstallLocation
if ($GamePath) if ($GamePath)
{ {
$ModURL = "https://objects.githubusercontent.com/github-production-release-asset-2e65be/701062524/e5980f2a-0563-4a30-b13d-8d15457ed381?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250622%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250622T182058Z&X-Amz-Expires=1800&X-Amz-Signature=86f6a9ab88b611c7dc7ab67e3d8a907fdb04795cadcd94be2c71e160ad72ed60&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3DTOH-Enhanced-XboxApp-2.2.1b5.zip&response-content-type=application%2Foctet-stream" $ModURL = "https://objects.githubusercontent.com/github-production-release-asset-2e65be/701062524/7e45f73b-0991-478c-ace0-0876df5fe5b3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250622%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250622T191231Z&X-Amz-Expires=1800&X-Amz-Signature=de68fca86c5dde12c1a401e8ab896b36bace462ba49858b6a708e71ec438bf7c&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3DTOH-Enhanced-SteamEpic-2.2.1b3.zip&response-content-type=application%2Foctet-stream"
$Temp = "C:\Temp\Among Us" $Temp = "C:\Temp\Among Us"
$installPath = $GamePath -replace ".{9}$" $installPath = $GamePath -replace ".{9}$"
Remove-Item "$installPath\TOHE" -Recurse -Force -ErrorAction SilentlyContinue Remove-Item "$installPath\TOHE" -Recurse -Force -ErrorAction SilentlyContinue