Commit graph

8 commits

Author SHA1 Message Date
Sebastian Morr
d352bd24c2 Look at the OS to decide which shell binary to run 2020-09-09 11:01:30 +02:00
Sebastian Morr
888ff54d44 Start implementing an async run function for the shell 2020-09-08 22:58:44 +02:00
Sebastian Morr
2711d6ed8b Fix all warnings and errors 2020-09-08 20:26:14 +02:00
Sebastian Morr
3460e37d82 Hide read/write messages behind game.debug flag 2020-09-08 20:13:49 +02:00
Sebastian Morr
f09abe36e9 Move all exec operations to the Shell class 2020-09-08 16:46:12 +02:00
Sebastian Morr
5a8c377160 Copy fake-editor to /tmp when starting (the original might be in a .pck file) 2020-09-08 16:36:52 +02:00
Sebastian Morr
4fff68253c Allow exported Linux builds to run
When referring to local game files, we always need to use "res://".
2020-09-08 16:27:36 +02:00
Sebastian Morr
579f18736a Introduce Shell class with a cd method and a run method
game.exec is now the only point in the code that calls OS.execute.
shell.run is the only point that refers to /bin/sh.
2020-09-08 16:08:40 +02:00