fix(tui): use open::that_detached to prevent freeze when opening directories
This commit is contained in:
1 parent
2ea20b0a99
commit
d5cbc11c8a
3 files changed
+5
-5
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user