Created
November 19, 2022 13:58
-
-
Save lars-erik/12402d03abb32f9ca8fe1720953c26bc to your computer and use it in GitHub Desktop.
Set steam AutoUpdateBehavior
This file contains hidden or 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
# 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