move "open storage path" feature from debug to settings

This commit is contained in:
2025-11-22 09:47:44 +00:00
parent d393bbfc37
commit 4b522d9b3f
2 changed files with 7 additions and 8 deletions
+1 -7
View File
@@ -3,19 +3,13 @@ use crate::{
app::{App, WINDOW_SIZE},
tools,
},
util::consts::{
game::{EXE_ENHANCED, EXE_LEGACY},
path,
},
util::consts::game::{EXE_ENHANCED, EXE_LEGACY},
};
use eframe::egui;
impl App {
fn add_debug_viewport_contents(&mut self, ui: &mut egui::Ui) {
ui.collapsing("misc", |ui| {
if ui.button("open storage path").clicked() {
open::that_detached(path::APP_STORAGE.as_path()).unwrap();
}
ui.scope(|ui| {
use windows::Win32::UI::WindowsAndMessaging::{
GetForegroundWindow, GetWindowTextW,