瀏覽代碼

1.ios 添加中文版包名判断

slambb 2 年之前
父節點
當前提交
3398da2aa8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Assets/BowArrow/Scripts/CommonConfig.cs

+ 1 - 1
Assets/BowArrow/Scripts/CommonConfig.cs

@@ -13,7 +13,7 @@ public class CommonConfig
     {
     {
         get
         get
         {
         {
-            int index = Application.identifier.Contains("com.xmjssvr.BowArrow.mi") ? 0 : 1; // Array.IndexOf(AppNames, Application.productName);
+            int index = Application.identifier.Contains("com.xmjssvr.BowArrow.mi") || Application.identifier == "com.xmjssvr.BowArrow" ? 0 : 1; // Array.IndexOf(AppNames, Application.productName);
             if (index == 0) return 0;
             if (index == 0) return 0;
             else return 1;
             else return 1;
         }
         }