Improve UX for COSMIC
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user