Simplify live condition
parent
d7ce6b1c3d
commit
3f0a7208a7
|
@ -91,10 +91,9 @@ class ManjaroHello():
|
||||||
self.builder.get_object("autostart").set_active(self.autostart)
|
self.builder.get_object("autostart").set_active(self.autostart)
|
||||||
|
|
||||||
# Live systems
|
# Live systems
|
||||||
if self.infos["live"]:
|
if self.infos["live"] and os.path.isfile("/usr/bin/calamares"):
|
||||||
if os.path.isfile("/usr/bin/calamares"):
|
self.builder.get_object("installlabel").set_visible(True)
|
||||||
self.builder.get_object("installlabel").set_visible(True)
|
self.builder.get_object("installgui").set_visible(True)
|
||||||
self.builder.get_object("installgui").set_visible(True)
|
|
||||||
|
|
||||||
self.window.show()
|
self.window.show()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue