alroyso hace 1 año
padre
commit
529a043dee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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));