Compare commits

...
Author SHA1 Message Date
qhy040404 697dec12e0 fix relative path 2024-08-14 20:56:21 +08:00
+1 -1
View File
@@ -135,7 +135,7 @@ internal static class RuntimeHelper
public static void CheckIntegration()
{
if (!Directory.Exists("Assets") || !Directory.Exists("GameTask") || !Directory.Exists("User"))
if (!Directory.Exists(Global.Absolute("Assets")) || !Directory.Exists(Global.Absolute("GameTask")) || !Directory.Exists(Global.Absolute("User")))
{
StringBuilder stringBuilder = new("发现有关键文件缺失,");
stringBuilder.Append(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) == Global.StartUpPath