From 354a2903d7a9aabbe022875036bf6c6c3671fcb1 Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期三, 03 三月 2021 14:20:07 +0800
Subject: [PATCH] 9527 增加il委托注册

---
 Assets/Editor/Tool/ClientPackage.cs |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/Assets/Editor/Tool/ClientPackage.cs b/Assets/Editor/Tool/ClientPackage.cs
index 7318bb8..ac41546 100644
--- a/Assets/Editor/Tool/ClientPackage.cs
+++ b/Assets/Editor/Tool/ClientPackage.cs
@@ -16,31 +16,26 @@
 
     public static string auditOutTime = string.Empty;
 
-    public static string SDK_PLUGIN_PROJECT
-    {
+    public static string SDK_PLUGIN_PROJECT {
         get { return LocalSave.GetString("SDK_PROJECT_PATH"); }
         set { LocalSave.SetString("SDK_PROJECT_PATH", value); }
     }
 
-    public static bool obfuscatorEnabled
-    {
+    public static bool obfuscatorEnabled {
         get { return LocalSave.GetBool("obfuscatorEnabled", false); }
         set { LocalSave.SetBool("obfuscatorEnabled", value); }
     }
-    public static bool includeConfig
-    {
+    public static bool includeConfig {
         get { return LocalSave.GetBool("client_pg_includeConfig", false); }
         set { LocalSave.SetBool("client_pg_includeConfig", value); }
     }
 
-    public static bool includeUI
-    {
+    public static bool includeUI {
         get { return LocalSave.GetBool("client_pg_includeUI", false); }
         set { LocalSave.SetBool("client_pg_includeUI", value); }
     }
 
-    public static int AssetPrior
-    {
+    public static int AssetPrior {
         get { return LocalSave.GetInt("HalfAssetPrior", 1); }
         set { LocalSave.SetInt("HalfAssetPrior", value); }
     }
@@ -497,7 +492,6 @@
 
     public static void BuildIpa(string _sdkPath, string _publisher, int _buildIndex, bool _replace)
     {
-#if UNITY_IOS
         PreBuild(_publisher, _buildIndex);
 
         var versionName = string.Empty;
@@ -535,7 +529,7 @@
         PlayerSettings.iOS.appleDeveloperTeamID = VersionConfig.Get().appleDeveloperTeamID;
 
         IFix.Editor.IFixEditor.InjectAllAssemblys();//瀵筰njectAssemblys閲岀殑绋嬪簭闆嗚繘琛屾敞鍏ワ紝鐒跺悗澶囦唤
-
+#if UNITY_IOS
         if (_replace)
         {
             XCodeProjectMod.BuildIOSProject_Replace();

--
Gitblit v1.8.0