opus-nt/run-online.bat

20 lines
487 B
Batchfile

@echo off
setlocal
cd /d "%~dp0"
echo WARNING! This will apply opus-nt to your currently running OS.
echo On Windows 10, make sure to disable tamper protection.
pause
call "%pyexe%" run.py online
if not "%errorlevel%" == "0" goto error
call "%pyexe%" run.py online modpath=mods-trustedInstaller
if not "%errorlevel%" == "0" goto error
call "%pyexe%" run.py online modpath=mods-online
if not "%errorlevel%" == "0" goto error
goto exit
:error
echo An error occured.
goto exit
:exit
pause