瀏覽代碼

Use better iOS check

Bepis 4 年之前
父節點
當前提交
796f3a33a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BepInEx.Preloader/Platform.cs

+ 1 - 1
BepInEx.Preloader/Platform.cs

@@ -98,7 +98,7 @@ namespace BepInEx.Preloader
             {
                 current = Platform.Android;
             }
-			else if (Is(current, Platform.Unix) && Directory.Exists("/Applications") && Directory.Exists("/System"))
+			else if (Is(current, Platform.Unix) && Directory.Exists("/System/Library/AccessibilityBundles"))
 			{
 				current = Platform.iOS;
 			}