improve debug experience

This commit is contained in:
2025-04-08 07:52:55 +01:00
parent 6e3aa70398
commit c1c1547e4d
6 changed files with 70 additions and 31 deletions
+1
View File
@@ -6,6 +6,7 @@ use windows::Win32::UI::Input::KeyboardAndMouse::{
pub const INTERVAL: Duration = Duration::from_secs(60);
const VK_SHIFT: u8 = 16;
#[derive(Debug)]
pub struct AntiAfk {
pub enabled: bool,
pub interval: Instant,
+1
View File
@@ -10,6 +10,7 @@ pub const INTERVAL: Duration = Duration::from_secs(8);
const ENHANCED: &str = "GTA5_Enhanced.exe";
const LEGACY: &str = "GTA5.exe";
#[derive(Debug)]
pub struct EmptySession {
pub disabled: bool,
pub interval: Instant,
+1
View File
@@ -2,6 +2,7 @@ use crate::util::consts::{ENHANCED, LEGACY};
use std::time::Instant;
use sysinfo::System;
#[derive(Debug)]
pub struct ForceClose {
pub button_text: String,
pub prompting: bool,
+1 -1
View File
@@ -20,7 +20,7 @@ impl Display for Platform {
}
}
#[derive(Default)]
#[derive(Debug, Default)]
pub struct Launch {
pub selected: Platform,
}