Browse Source

Use better iOS check

Bepis 4 năm trước cách đây
mục cha
commit
796f3a33a9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 			}