Created
November 14, 2024 19:51
-
-
Save aoqia194/4ddb1a5bceb44667c3bdbed33407830f to your computer and use it in GitHub Desktop.
An installer for my other gist so lazy people can do it automatically!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$installPath = (Get-ItemProperty 'HKLM:\SOFTWARE\WOW6432Node\Valve\Steam').InstallPath; $libraryPath = ($libraryFolders = -join (Get-Content "$installPath\config\libraryfolders.vdf")) -match '"(\d+)"\s*\{\s*"path"\s*"(.*?)"[^}]*"apps"\s*\{[^}]*"108600"' | Out-Null; $gamePath = "$($matches[2])/steamapps/common/ProjectZomboid"; Set-Location -Path $gamePath; Invoke-WebRequest -Uri "https://gist.githubusercontent.com/aoqia194/f93a6d9cdfd66388c46ada22d067b058/raw/27deb991f4f1e785b018b73d68f4c687e5270d10/ProjectZomboid64aoqia.json" -OutFile "$gamePath/ProjectZomboid64aoqia.json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment