From 5a61c5510b79819cc1113a90ab1409a2dec5fad3 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 2 Jul 2015 15:41:08 +0200 Subject: [PATCH] Fix path to mod-ui --- source/carla_modgui.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/carla_modgui.py b/source/carla_modgui.py index bf55edf15..07e0aa91a 100755 --- a/source/carla_modgui.py +++ b/source/carla_modgui.py @@ -64,10 +64,10 @@ PORTn = 8998 + int(random()*9000) # Set up environment for the webserver PORT = str(PORTn) -ROOT = "/usr/share" -#ROOT = "/home/falktx/FOSS/GIT-mine/MOD/mod-app/source/modules" +ROOT = "/usr/share/mod" +#ROOT = "/home/falktx/FOSS/GIT-mine/MOD/mod-app/source/modules/mod-ui" DATA_DIR = os.path.expanduser("~/.local/share/mod-data/") -HTML_DIR = os.path.join(ROOT, "mod-ui", "html") +HTML_DIR = os.path.join(ROOT, "html") os.environ['MOD_DEV_HOST'] = "1" os.environ['MOD_DEV_HMI'] = "1" @@ -77,12 +77,12 @@ os.environ['MOD_LOG'] = "1" # TESTING os.environ['MOD_DATA_DIR'] = DATA_DIR os.environ['MOD_HTML_DIR'] = HTML_DIR os.environ['MOD_KEY_PATH'] = os.path.join(DATA_DIR, "keys") -os.environ['MOD_CLOUD_PUB'] = os.path.join(ROOT, "mod-ui", "keys", "cloud_key.pub") +os.environ['MOD_CLOUD_PUB'] = os.path.join(ROOT, "keys", "cloud_key.pub") os.environ['MOD_PLUGIN_LIBRARY_DIR'] = os.path.join(DATA_DIR, "lib") os.environ['MOD_DEFAULT_JACK_BUFSIZE'] = "0" os.environ['MOD_PHANTOM_BINARY'] = "/usr/bin/phantomjs" -os.environ['MOD_SCREENSHOT_JS'] = os.path.join(ROOT, "mod-ui", "screenshot.js") +os.environ['MOD_SCREENSHOT_JS'] = os.path.join(ROOT, "screenshot.js") os.environ['MOD_DEVICE_WEBSERVER_PORT'] = PORT # ------------------------------------------------------------------------------------------------------------