Added replay ability
This commit is contained in:
+13
-1
@@ -1,4 +1,16 @@
|
||||
from .gui.app import run
|
||||
import sys
|
||||
|
||||
from .environment import replay_path, replay_headless
|
||||
|
||||
|
||||
def run():
|
||||
if replay_path() and replay_headless():
|
||||
from .replay_cli import run_headless
|
||||
sys.exit(run_headless())
|
||||
|
||||
from .gui.app import run as run_gui
|
||||
run_gui()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
run()
|
||||
|
||||
Reference in New Issue
Block a user