Reworked batch files a bit

Commented line for portable operation, setlocal added
This commit is contained in:
Fierelier 2019-10-25 10:56:28 +02:00
parent e5f2fd0018
commit 8ffbf199ef
2 changed files with 30 additions and 0 deletions

15
UniversalModloader.bat Normal file
View File

@ -0,0 +1,15 @@
@echo off
setlocal
title Fier's Universal Modloader
cd /d %~dp0
::SETTINGS
set pyFile=UniversalModloader.py
set pythonExec=py
::set pythonExec=python\python.exe
set cmd=call "%pythonExec%" "%pyFile%" %*
::SETTINGS END
%cmd%
pause
exit

View File

@ -0,0 +1,15 @@
@echo off
setlocal
title Fier's Universal Modloader - Windows Integration Tool
cd /d %~dp0
::SETTINGS
set pyFile=Windows Integration Tool.py
set pythonExec=py
::set pythonExec=..\..\python\python.exe
set cmd=call "%pythonExec%" "%pyFile%" %*
::SETTINGS END
%cmd%
pause
exit