Fix cache dir, add debug_info_filename to about
This commit is contained in:
@@ -179,6 +179,7 @@ class CartridgesApplication(Adw.Application):
|
|||||||
# Translators: Replace this with your name for it to show up in the about window
|
# Translators: Replace this with your name for it to show up in the about window
|
||||||
translator_credits=_("translator_credits"),
|
translator_credits=_("translator_credits"),
|
||||||
debug_info=debug_str,
|
debug_info=debug_str,
|
||||||
|
debug_info_filename="cartridges.log",
|
||||||
)
|
)
|
||||||
about.present()
|
about.present()
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ state_schema = Gio.Settings.new(APP_ID + ".State")
|
|||||||
home = Path.home()
|
home = Path.home()
|
||||||
data_dir = Path(GLib.get_user_data_dir())
|
data_dir = Path(GLib.get_user_data_dir())
|
||||||
config_dir = Path(GLib.get_user_config_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"
|
flatpak_dir = home / ".var" / "app"
|
||||||
|
|
||||||
games_dir = data_dir / "cartridges" / "games"
|
games_dir = data_dir / "cartridges" / "games"
|
||||||
|
|||||||
Reference in New Issue
Block a user