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
|
def do_activate(self) -> None: # pylint: disable=arguments-differ
|
||||||
"""Called on app creation"""
|
"""Called on app creation"""
|
||||||
|
|
||||||
|
if os.getenv("XDG_CURRENT_DESKOP") == "COSMIC":
|
||||||
|
Gio.AppInfo.launch_default_for_uri("https://stopthemingmy.app")
|
||||||
|
self.quit()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
setup_logging()
|
setup_logging()
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user