From 8ffbf199ef64ec914d98f598a74e742830d272e2 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Fri, 25 Oct 2019 10:56:28 +0200 Subject: [PATCH] Reworked batch files a bit Commented line for portable operation, setlocal added --- UniversalModloader.bat | 15 +++++++++++++++ .../Windows Integration Tool.bat | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 UniversalModloader.bat create mode 100644 extras/Windows Integration Tool/Windows Integration Tool.bat diff --git a/UniversalModloader.bat b/UniversalModloader.bat new file mode 100644 index 0000000..b18595b --- /dev/null +++ b/UniversalModloader.bat @@ -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 \ No newline at end of file diff --git a/extras/Windows Integration Tool/Windows Integration Tool.bat b/extras/Windows Integration Tool/Windows Integration Tool.bat new file mode 100644 index 0000000..aa832f2 --- /dev/null +++ b/extras/Windows Integration Tool/Windows Integration Tool.bat @@ -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 \ No newline at end of file