mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
gui: Add an option to open elfdumps path (#3987)
This commit is contained in:
committed by
GitHub
parent
c8252f4959
commit
bbbd584e4b
@@ -1441,6 +1441,13 @@ void MainWindow::setup_toolbar() {
|
||||
gui::utils::open_dir(textures_path);
|
||||
});
|
||||
|
||||
const auto elfdumps_path = emuenv.log_path / "elfdumps"; // TODO: change elfdumps path to not be log, its ugly
|
||||
menu.addAction(tr("Open ELF Dumps Path"), this, [elfdumps_path] {
|
||||
if (!fs::exists(elfdumps_path))
|
||||
fs::create_directories(elfdumps_path);
|
||||
gui::utils::open_dir(elfdumps_path);
|
||||
});
|
||||
|
||||
menu.exec(pos);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user