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
#!/bin/bash | |
if ! net session > /dev/null 2>&1; then | |
echo "This tool must be run under Administrator privileges." | |
exit 1 | |
fi | |
function flush() { | |
netsh http flush logbuffer | |
} |
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
#!/bin/bash | |
runner_user=steam_runner | |
updater_user=steam_updater | |
usercachefile="/tmp/steamusercache.dat" | |
jaildir="./scsjail" | |
atsjaildir="atsd" | |
etsjaildir="ets2d" |
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
@ECHO OFF | |
setlocal EnableDelayedExpansion | |
set uninstall=no | |
set classkey=HKEY_CLASSES_ROOT | |
if [%1]==[uninstall] set uninstall=yes | |
net session > nul 2>&1 | |
if %ERRORLEVEL% NEQ 0 ( | |
echo Setting up for current user ^(run as Administrator for system-wide change^). | |
set classkey=HKEY_CURRENT_USER\Software\Classes |