try
This commit is contained in:
parent
a5cb5ab6ed
commit
afa5ae9463
2 changed files with 4 additions and 4 deletions
|
@ -25,8 +25,8 @@ import sys
|
|||
import subprocess
|
||||
import time
|
||||
|
||||
|
||||
USE_SDL2 = True
|
||||
RAYLIB_PLATFORM = os.getenv("RAYLIB_PLATFORM", "Desktop")
|
||||
USE_SDL2 = True if RAYLIB_PLATFORM == "SDL" else False
|
||||
|
||||
def check_raylib_installed():
|
||||
return subprocess.run(['pkg-config', '--exists', 'raylib'], text=True, stdout=subprocess.PIPE).returncode == 0
|
||||
|
|
Reference in a new issue