Note: disregard the original steam shortcut and only use this batch script(s) to launch steam
steam-no-browser.bat:
@echo off
set "steam_path=C:\Program Files (x86)\Steam"
:: exit if steam is already running
tasklist | findstr /i "steam.exe" && exit /b
:: rename binary back to .exe as steam requires it to initialize
if exist "%steam_path%\bin\cef\cef.win7x64\steamwebhelper.exee" (
ren "%steam_path%\bin\cef\cef.win7x64\steamwebhelper.exee" "steamwebhelper.exe"
)
:: open steam
start "" "%steam_path%\steam.exe" +open steam://open/minigameslist
:: only continue if steamwebhelper is running in case steam is updating
:query_steamwebhelper
tasklist | findstr /i "steamwebhelper.exe" || goto :query_steamwebhelper
:: allow a few seconds for steam to initialize/login
timeout /t 5 /nobreak
:: rename binary and kill the process
ren "%steam_path%\bin\cef\cef.win7x64\steamwebhelper.exe" "steamwebhelper.exee"
taskkill /f /im "steamwebhelper.exe"steam-normal.bat:
@echo off
set "steam_path=C:\Program Files (x86)\Steam"
:: exit if steam is already running
tasklist | findstr /i "steam.exe" && exit /b
:: rename binary back to .exe as steam requires it to initialize
if exist "%steam_path%\bin\cef\cef.win7x64\steamwebhelper.exee" (
ren "%steam_path%\bin\cef\cef.win7x64\steamwebhelper.exee" "steamwebhelper.exe"
)
:: open steam
start "" "%steam_path%\steam.exe"