From b71f507d8e96b758677947d0ffb9d5b12fac58da Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Mon, 22 May 2017 22:08:14 +0200 Subject: [PATCH] Add a var for installer path --- src/manjaro_hello.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index cbf9dc3..dbff892 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -21,6 +21,7 @@ class ManjaroHello(): version = "17" live_path = "/run/miso/bootmnt/manjaro" logo_path = "/usr/share/icons/hicolor/64x64/apps/manjaro.png" + installer_path = "/usr/bin/calamares" self.default_locale = "en" # App vars @@ -93,7 +94,7 @@ class ManjaroHello(): self.builder.get_object("autostart").set_active(self.autostart) # Live systems - if os.path.exists(live_path) and os.path.isfile("/usr/bin/calamares"): + if os.path.exists(live_path) and os.path.isfile(installer_path): self.builder.get_object("installlabel").set_visible(True) self.builder.get_object("install").set_visible(True)