Improve UX for COSMIC

This commit is contained in:
kramo
2024-07-18 15:34:22 +02:00
parent 35acb56a62
commit 239420148a

View File

@@ -107,6 +107,10 @@ class CartridgesApplication(Adw.Application):
def do_activate(self) -> None: # pylint: disable=arguments-differ
"""Called on app creation"""
if os.getenv("XDG_CURRENT_DESKOP") == "COSMIC":
Gio.AppInfo.launch_default_for_uri("https://stopthemingmy.app")
self.quit()
try:
setup_logging()
except ValueError: