From d4df6cb2fee09225c0ee393f563089651f7cdee0 Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Sat, 17 Dec 2016 19:14:39 +0100 Subject: [PATCH] Update some paths --- launch.sh | 4 ++-- src/manjaro-hello.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/launch.sh b/launch.sh index 45333a6..5b3b67f 100644 --- a/launch.sh +++ b/launch.sh @@ -11,5 +11,5 @@ for lang in $(ls -1 | sed -e 's/\..*$//'); do msgfmt -c -o ../locale/$lang/LC_MESSAGES/manjaro-hello.mo $lang.po fi done -cd ../src -python manjaro-hello.py +cd .. +python src/manjaro-hello.py diff --git a/src/manjaro-hello.py b/src/manjaro-hello.py index b4e7528..df11df7 100644 --- a/src/manjaro-hello.py +++ b/src/manjaro-hello.py @@ -36,9 +36,9 @@ class ManjaroHello(): self.ui_path = "/usr/share/" + self.app + "/" self.desktop_path = "/usr/share/applications/" + self.app + ".desktop" else: - self.data_path = "../data/" - self.locale_path = "../locale/" - self.ui_path = "../ui/" + self.data_path = "data/" + self.locale_path = "locale/" + self.ui_path = "ui/" self.desktop_path = self.current_folder[:-4] + self.app + ".desktop" self.config_path = os.path.expanduser("~") + "/.config/"