|
@@ -82,7 +82,7 @@ class GlobalController extends GetxController {
|
|
// if (controllers.service.serviceStatus.value != RunningState.running) return;
|
|
// if (controllers.service.serviceStatus.value != RunningState.running) return;
|
|
//await controllers.service.serviceModeSwitch(true);
|
|
//await controllers.service.serviceModeSwitch(true);
|
|
// init clash core
|
|
// init clash core
|
|
-
|
|
|
|
|
|
+ await platformState();
|
|
//判断clash 程序是否在启动中,如果是可以先停止
|
|
//判断clash 程序是否在启动中,如果是可以先停止
|
|
await onIsProcessRunning(path.basename(Files.assetsCCore.path));
|
|
await onIsProcessRunning(path.basename(Files.assetsCCore.path));
|
|
|
|
|