fix(tui): use open::that_detached to prevent freeze when opening directories

This commit is contained in:
objz committed 2026-05-02 21:42:43 +02:00
1 parent 2ea20b0a99
commit d5cbc11c8a
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ impl App {
.instances_dir
.join(&instance.name)
.join(".minecraft");
if let Err(e) = open::that(&dir) {
if let Err(e) = open::that_detached(&dir) {
tracing::error!("Failed to open instance directory: {}", e);
}
}