summaryrefslogtreecommitdiff
path: root/src/launcher.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/launcher.py')
-rw-r--r--src/launcher.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/launcher.py b/src/launcher.py
index 61e2a7f..328c965 100644
--- a/src/launcher.py
+++ b/src/launcher.py
@@ -1,3 +1,4 @@
+import os
import time
import threading
@@ -9,8 +10,12 @@ class Thandy(threading.Thread):
def run(self):
while True:
try:
+ os.environ["THP_DB_ROOT"] = os.path.join(os.getcwd(),
+ "packages")
+ os.environ["THP_INSTALL_ROOT"] = os.path.join(os.getcwd(),
+ "updates")
args = [
- "--repo=/home/chiiph/Code/leap/repo/",
+ "--repo=/home/chiiph/Code/leap/repo/", # TODO:set as a URL
"--debug",
"--install",
"/bundleinfo/LEAPClient/"