fix:SystemHelper.openDir

This commit is contained in:
2024-03-21 20:14:37 +08:00
parent 8622a5068b
commit 6c0f30778f
4 changed files with 4 additions and 7 deletions

View File

@ -361,8 +361,7 @@ class ToolsUIModel extends _$ToolsUIModel {
}
openDir(path) async {
await Process.run(
SystemHelper.powershellPath, ["explorer.exe", "/select,\"$path\""]);
SystemHelper.openDir("\"$path\"");
}
Future _showSystemInfo(BuildContext context) async {