alroyso 1 year ago
parent
commit
529a043dee
1 changed files with 1 additions and 1 deletions
  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));