mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 12:34:45 +08:00
动态 UAC
This commit is contained in:
@ -55,8 +55,8 @@ class UpgradeDialogUIModel extends BaseUIModel {
|
||||
}
|
||||
|
||||
try {
|
||||
final r =
|
||||
await (Process.run("powershell", ["start", fileName, "/SILENT"]));
|
||||
final r = await (Process.run(
|
||||
SystemHelper.powershellPath, ["start", fileName, "/SILENT"]));
|
||||
if (r.stderr.toString().isNotEmpty) {
|
||||
throw r.stderr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user