Skip to content

Commit

Permalink
Fix windows batch scripts not recognizing data folder
Browse files Browse the repository at this point in the history
  • Loading branch information
MatusGuy committed Nov 17, 2024
1 parent 9896e72 commit 8b7b5f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion mk/msvc/run_supertux.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
@echo off
start "" "%~dp0\bin\supertux2.exe" %*
pushd "%~dp0"
start "" "bin\supertux2.exe" %*
popd
4 changes: 3 additions & 1 deletion mk/msvc/run_supertux_portable.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@echo off
pushd "%~dp0"
set "SUPERTUX2_USER_DIR=%~dp0\user\"
start "" "%~dp0\bin\supertux2.exe" %*
start "" "bin\supertux2.exe" %*
popd

0 comments on commit 8b7b5f7

Please sign in to comment.