From 84a659a2b1428505c4fc5d33ffed4b8b7f231ae8 Mon Sep 17 00:00:00 2001 From: futile Date: Thu, 17 Apr 2025 00:49:20 +0100 Subject: [PATCH] add button to debug to open app storage path --- src/gui/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/mod.rs b/src/gui/mod.rs index 7505f14..6527528 100644 --- a/src/gui/mod.rs +++ b/src/gui/mod.rs @@ -275,6 +275,9 @@ impl App { } fn show_debug(&mut self, _ctx: &egui::Context, ui: &mut egui::Ui) { + if ui.button("open storage path").clicked() { + open::that_detached(APP_STORAGE_PATH.as_path()).unwrap(); + }; ui.collapsing("anti afk", |ui| { ui.label(format!( "timer: {}",