log panics to a file

This commit is contained in:
2025-04-17 00:44:06 +01:00
parent 284c4bb46d
commit db4ca22f95
5 changed files with 73 additions and 9 deletions
+5
View File
@@ -1,4 +1,9 @@
use std::{path::PathBuf, sync::LazyLock};
pub const ENHANCED: &str = "GTA5_Enhanced.exe";
pub const LEGACY: &str = "GTA5.exe";
pub const GTA_WINDOW_TITLE: &str = "Grand Theft Auto V";
pub static APP_STORAGE_PATH: LazyLock<PathBuf> =
LazyLock::new(|| dirs::config_local_dir().unwrap().join("GTA Tools"));