From dc232e1e4316ce3ffb34f8a0252f7d2f4e70adcb Mon Sep 17 00:00:00 2001 From: kramo <93832451+kra-mo@users.noreply.github.com> Date: Thu, 6 Jul 2023 10:25:00 +0200 Subject: [PATCH] Fix cache dir, add debug_info_filename to about --- src/main.py | 1 + src/shared.py.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index d0afd3e..21fdfe0 100644 --- a/src/main.py +++ b/src/main.py @@ -179,6 +179,7 @@ class CartridgesApplication(Adw.Application): # Translators: Replace this with your name for it to show up in the about window translator_credits=_("translator_credits"), debug_info=debug_str, + debug_info_filename="cartridges.log", ) about.present() diff --git a/src/shared.py.in b/src/shared.py.in index bfa882c..92fc574 100644 --- a/src/shared.py.in +++ b/src/shared.py.in @@ -34,7 +34,7 @@ state_schema = Gio.Settings.new(APP_ID + ".State") home = Path.home() data_dir = Path(GLib.get_user_data_dir()) config_dir = Path(GLib.get_user_config_dir()) -cache_dir = Path(GLib.get_user_config_dir()) +cache_dir = Path(GLib.get_user_cache_dir()) flatpak_dir = home / ".var" / "app" games_dir = data_dir / "cartridges" / "games"