mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-29 08:05:39 +08:00
优化分流下载,增加启动器运行检测。
使用内建多线程下载器
This commit is contained in:
@ -93,7 +93,10 @@ class SystemHelper {
|
||||
|
||||
static Future<List<String>> getPID(String name) async {
|
||||
final r = await Process.run("powershell", ["(ps $name).Id"]);
|
||||
return r.stdout.toString().trim().split("\n");
|
||||
final str = r.stdout.toString().trim();
|
||||
dPrint(str);
|
||||
if (str.isEmpty) return [];
|
||||
return str.split("\n");
|
||||
}
|
||||
|
||||
static checkAndLaunchRSILauncher(String path) async {
|
||||
|
Reference in New Issue
Block a user