Add run-online.bat
This commit is contained in:
parent
30b007447d
commit
ca64aaad7e
|
@ -0,0 +1,16 @@
|
|||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
cd /d "%~dp0"
|
||||
set path=%cd%\path;%path%
|
||||
|
||||
REM Location to your py.exe/python.exe - If the Python launcher is installed (fairly likely), py should suffice.
|
||||
REM If Python does not launch, set this to the full path if your python.exe, like so:
|
||||
REM set pyexe=C:\Program Files\Python38\python.exe
|
||||
set pyexe=py
|
||||
|
||||
echo WARNING! This will apply opus-nt to your currently running OS.
|
||||
pause
|
||||
advancedrun /exefilename "cmd.exe" /commandline '/c "set path=%path% & call "%pyexe%" run.py online"' /startdirectory "%cd%" /runas 4 /waitprocess 1 /run
|
||||
advancedrun /exefilename "cmd.exe" /commandline '/c "set path=%path% & call "%pyexe%" run.py online modpath=mods-trustedInstaller"' /startdirectory "%cd%" /runas 8 /waitprocess 1 /run
|
||||
advancedrun /exefilename "cmd.exe" /commandline '/c "set path=%path% & call "%pyexe%" run.py online modpath=mods-online"' /startdirectory "%cd%" /runas 4 /waitprocess 1 /run
|
||||
pause
|
Loading…
Reference in New Issue