Ledger Nano X - The secure hardware wallet


aveyo Jun 12th, 2019 (edited) 564 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off &color 4f &mode 80,4 &title Steam fast restart with SkipGameUpdate and no crash/repair
  2. :: [2018.12.12]: switch old friends ui on and fix silent mode so it goes straight to systray icon
  3. set "STEAMPATH=D:\Steam" &rem AveYo:" Override detection here if needed "
  4. :: detect steam
  5. if not exist "%STEAMPATH%\Steam.exe" call :reg_query STEAMPATH "HKCU\SOFTWARE\Valve\Steam" "SteamPath"
  6. if defined STEAMPATH for %%# in ("%STEAMPATH%") do set "STEAMPATH=%%~dpnx#"
  7. if not exist "%STEAMPATH%\Steam.exe" echo Cannot find SteamPath in registry! & timeout /t 3 & exit
  8. :: kill and restart steam
  9. taskkill /im Steam.exe /t /f >nul 2>nul & timeout /t 1 >nul & del /f /q "%STEAMPATH%\.crash" >nul 2>nul & timeout /t 1 >nul
  10. set l1=-silent -console -forceservice -single_core -windowed -manuallyclearframes 0 -nodircheck -norepairfiles -noverifyfiles
  11. set l2=-nocrashmonitor -nocrashdialog -vrdisable -nofriendsui -no-browser -tcp -skipstreamingdrivers +"@AllowSkipGameUpdate 1 -
  12. start "Steam" "%STEAMPATH%\Steam.exe" %l1% %l2%
  13. exit
  14. :: utility
  15. :reg_query [USAGE] call :reg_query ResultVar "HKCU\KeyName" "ValueName"
  16. (for /f "skip=2 delims=" %%s in ('reg query "%~2" /v "%~3" /z 2^>nul') do set ".=%%s" & call set "%~1=%%.:*)    =%%") & exit/b
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand