1
0
Fork 0
mirror of synced 2024-06-27 18:51:06 +12:00

Main: Trust shebangs. Fixes launching games on NixOS

Co-authored-by: multisn8 <contact@multisamplednight.com>
This commit is contained in:
loathingKernel 2023-03-12 15:32:55 +02:00
parent 801294b1ea
commit fb1175ee04
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD
2 changed files with 2 additions and 1 deletions

1
rare/__main__.py Normal file → Executable file
View file

@ -1,3 +1,4 @@
#!/usr/bin/env python3
import multiprocessing
import os
import pathlib

View file

@ -129,7 +129,7 @@ def get_rare_executable() -> List[str]:
if sys.executable == os.path.abspath(sys.argv[0]):
executable = [sys.executable]
else:
executable = [sys.executable, os.path.abspath(sys.argv[0])]
executable = [os.path.abspath(sys.argv[0])]
elif platform.system() == "Windows":
executable = [sys.executable]