Skip to content

Instantly share code, notes, and snippets.

View Stargateur's full-sized avatar

Stargateur

  • Nuant
  • France
View GitHub Profile
@AveYo
AveYo / . steamwebhelper_min.bat
Last active February 12, 2025 22:47
Steam minimal resource usage after removal of -no-browser & -vgui options. Enter script in powershell then use Steam_min shortcut on Desktop instead
@(set ^ "0=%~f0" -des ') & powershell -nop -c iex(out-string -i (gc -lit $env:0)) & exit /b ');.{
" Steam_min : always starts in SmallMode with reduced ram usage when idle - AveYo, 2025.02.12 v2 "
$QUICK = '-silent -quicklogin -vgui -oldtraymenu -nofriendsui -no-dwrite -vrdisable -forceservice -console ' +
'-cef-force-browser-underlay -cef-delaypageload -cef-force-occlusion -cef-disable-gpu -cef-single-process'
$STEAM = resolve-path (gp "HKCU:\SOFTWARE\Valve\Steam" SteamPath -ea 0).SteamPath
#pushd "$STEAM\userdata"
#$CLOUD = split-path (dir -filter "localconfig.vdf" -Recurse | sort LastWriteTime -Descending | Select -First 1).DirectoryName