8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
14 lines
584 B
Diff
14 lines
584 B
Diff
# The launcher game starts projects in a separate python process
|
|
# with the -E flag, which prevents the nix set PYTHONPATH envvar
|
|
# from taking effect, preventing the loading of pygame_sdl2
|
|
--- a/launcher/game/project.rpy
|
|
+++ b/launcher/game/project.rpy
|
|
@@ -239,7 +239,7 @@
|
|
raise Exception("Python interpreter not found: %r", executables)
|
|
|
|
# Put together the basic command line.
|
|
- cmd = [ executable, "-EO", sys.argv[0] ]
|
|
+ cmd = [ executable, "-O", sys.argv[0] ]
|
|
|
|
cmd.append(self.path)
|
|
cmd.extend(args)
|