Create unified batch file for running the game from the source directory on Windows and update README.md

This commit is contained in:
nightmareci
2023-02-13 09:35:28 -08:00
parent 323c457809
commit aa9e03506b
4 changed files with 12 additions and 7 deletions

7
start.bat Normal file
View File

@@ -0,0 +1,7 @@
@echo OFF
rem This solution of detecting the current CPU taken from here: https://stackoverflow.com/a/24590583
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set CURRENT_CPU=32BIT || set CURRENT_CPU=64BIT
if %CURRENT_CPU%==32BIT .\dist\win32\love.exe .
if %CURRENT_CPU%==64BIT .\dist\windows\love.exe .