Update some paths

merge-requests/64/head
Hugo Posnic 2016-12-17 19:14:39 +01:00
parent 117c586408
commit d4df6cb2fe
2 changed files with 5 additions and 5 deletions

View File

@ -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 msgfmt -c -o ../locale/$lang/LC_MESSAGES/manjaro-hello.mo $lang.po
fi fi
done done
cd ../src cd ..
python manjaro-hello.py python src/manjaro-hello.py

View File

@ -36,9 +36,9 @@ class ManjaroHello():
self.ui_path = "/usr/share/" + self.app + "/" self.ui_path = "/usr/share/" + self.app + "/"
self.desktop_path = "/usr/share/applications/" + self.app + ".desktop" self.desktop_path = "/usr/share/applications/" + self.app + ".desktop"
else: else:
self.data_path = "../data/" self.data_path = "data/"
self.locale_path = "../locale/" self.locale_path = "locale/"
self.ui_path = "../ui/" self.ui_path = "ui/"
self.desktop_path = self.current_folder[:-4] + self.app + ".desktop" self.desktop_path = self.current_folder[:-4] + self.app + ".desktop"
self.config_path = os.path.expanduser("~") + "/.config/" self.config_path = os.path.expanduser("~") + "/.config/"