Main: Trust shebangs. Fixes launching games on NixOS
Co-authored-by: multisn8 <contact@multisamplednight.com>
This commit is contained in:
parent
801294b1ea
commit
fb1175ee04
2 changed files with 2 additions and 1 deletions
1
rare/__main__.py
Normal file → Executable file
1
rare/__main__.py
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
import multiprocessing
|
||||
import os
|
||||
import pathlib
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue