mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 11:24:46 +08:00
fix:SystemHelper.openDir
This commit is contained in:
@ -259,8 +259,7 @@ class UpgradeDialogUI extends HookConsumerWidget {
|
||||
progress.value = 0;
|
||||
if (!context.mounted) return;
|
||||
showToast(context, S.current.app_upgrade_info_run_failed);
|
||||
Process.run(SystemHelper.powershellPath,
|
||||
["explorer.exe", "/select,\"$fileName\""]);
|
||||
SystemHelper.openDir("\"$fileName\"");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user