From ef6abbb5258903fe8fc9de132c4c2faaf5a4921f Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Sat, 28 Oct 2023 21:03:28 +0800 Subject: [PATCH] fix --- lib/common/helper/log_helper.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/common/helper/log_helper.dart b/lib/common/helper/log_helper.dart index e7bcb51..ded2d69 100644 --- a/lib/common/helper/log_helper.dart +++ b/lib/common/helper/log_helper.dart @@ -67,7 +67,8 @@ class SCLoggerHelper { dPrint("find installPath == $installPath"); scInstallPaths.add(installPath); } else if (await File("$installPath/Bin64/StarCitizen.exe") - .exists()) { + .exists() && + await File("$installPath/Data.p4k").exists()) { dPrint("find installPath == $installPath"); scInstallPaths.add(installPath); }