Merge branch 'main' of github.com:babalae/better-genshin-impact

This commit is contained in:
lwh9346 2024-08-18 17:41:13 +08:00
commit 57138a7be0

View File

@ -135,7 +135,7 @@ internal static class RuntimeHelper
public static void CheckIntegration()
{
if (!Directory.Exists("Assets") || !Directory.Exists("GameTask"))
if (!Directory.Exists(Global.Absolute("Assets")) || !Directory.Exists(Global.Absolute("GameTask")))
{
StringBuilder stringBuilder = new("发现有关键文件缺失,");
stringBuilder.Append(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) == Global.StartUpPath