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"