mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-24 12:59:03 -06:00
7 lines
346 B
Batchfile
7 lines
346 B
Batchfile
|
@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 .
|