Skip to content

Instantly share code, notes, and snippets.

@lars-erik
Created November 19, 2022 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lars-erik/12402d03abb32f9ca8fe1720953c26bc to your computer and use it in GitHub Desktop.
Save lars-erik/12402d03abb32f9ca8fe1720953c26bc to your computer and use it in GitHub Desktop.
Set steam AutoUpdateBehavior
# run in %programfiles%\Steam\steamapps
$files = Get-ChildItem -Path *.acf
$files | % {
$file = $_
$content = get-content $_
$content | % {
if ($_.Contains("AutoUpdateBehavior")) {
$_.Replace("0", "2")
} else {
$_
}
} | set-content $file
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment