summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rwxr-xr-xboot/boot.py5
-rwxr-xr-xboot/boot.sh2
2 files changed, 5 insertions, 2 deletions
diff --git a/boot/boot.py b/boot/boot.py
index c7afcfd..6ec7137 100755
--- a/boot/boot.py
+++ b/boot/boot.py
@@ -3,6 +3,9 @@
# This file exists for backwards compatibility with older versions of jasper.
# It might be removed in future versions.
import os
+import sys
import runpy
-script_path = os.path.join(os.path.dirname(__file__), os.pardir, "client", "main.py")
+script_path = os.path.join(os.path.dirname(__file__), os.pardir, "jasper.py")
+sys.path.remove(os.path.dirname(__file__))
+sys.path.insert(0, os.path.dirname(script_path))
runpy.run_path(script_path, run_name="__main__")
diff --git a/boot/boot.sh b/boot/boot.sh
index 9fc8af8..240a7f7 100755
--- a/boot/boot.sh
+++ b/boot/boot.sh
@@ -1,4 +1,4 @@
#!/bin/bash
# This file exists for backwards compatibility with older versions of Jasper.
# It might be removed in future versions.
-"${0%/*}/boot.py"
+"${0%/*}/../jasper.py"