Powershell 自动探测

This commit is contained in:
2023-11-07 22:35:25 +08:00
parent 183864054e
commit 7257e34653
8 changed files with 37 additions and 12 deletions

View File

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