alroyso il y a 1 an
Parent
commit
529a043dee
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/app/controller/GlobalController.dart

+ 1 - 1
lib/app/controller/GlobalController.dart

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