mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-08-01 13:41:02 +08:00
新增 汉化缓存清理
This commit is contained in:
@ -51,6 +51,9 @@ class IndexUIModel extends BaseUIModel {
|
||||
case 1:
|
||||
getCreatedChildUIModel("tools")?.reloadData();
|
||||
break;
|
||||
case 2:
|
||||
getCreatedChildUIModel("settings")?.reloadData();
|
||||
break;
|
||||
}
|
||||
notifyListeners();
|
||||
}
|
||||
@ -65,7 +68,8 @@ class IndexUIModel extends BaseUIModel {
|
||||
}
|
||||
|
||||
try {
|
||||
var result = await Process.run(SystemHelper.powershellPath, ["echo", "ping"]);
|
||||
var result =
|
||||
await Process.run(SystemHelper.powershellPath, ["echo", "ping"]);
|
||||
if (result.stdout.toString().startsWith("ping")) {
|
||||
dPrint("powershell check pass");
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user