alroyso 1 년 전
부모
커밋
529a043dee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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));