workaround live mode

main
mirkobrombin 2 years ago
parent f2f6eed13a
commit 9e89645913

@ -123,5 +123,9 @@ class FirstSetupApplication(Adw.Application):
def main(version): def main(version):
"""The application's entry point.""" """The application's entry point."""
if os.env.get("USERNAME") in ["ubuntu", "vanillaos", "vanilla-os"]:
logging.warning("Running in Live mode, closing...")
sys.exit(0)
app = FirstSetupApplication() app = FirstSetupApplication()
return app.run(sys.argv) return app.run(sys.argv)

Loading…
Cancel
Save