Browse Source

调试自动打包

jet 8 năm trước cách đây
mục cha
commit
81b29e7bb7

+ 7 - 7
Assets/Plugins/ShareSDK/ShareSDK.cs

@@ -15,18 +15,18 @@ namespace cn.sharesdk.unity3d
 	{
         public static string MobAppKey = "1b17e87d222c1";
 
-        public static string QQAppKey = "100371282";
-        public static string QQAppSecrete = "aed9b0303e3ed1e27bae87c33761161d";
+        public static string QQAppKey = "1106316278";
+        public static string QQAppSecrete = "MwrdToADs0yzeqxD";
 
-        public static string QQZoneAppKey = "100371282";
-        public static string QQZoneAppSecreteForIOS = "aed9b0303e3ed1e27bae87c33761161d";
-        public static string QQZoneAppSecreteForAndroid = "ae36f4ee3946e1cbb98d6965b0b2ff5c";
+        public static string QQZoneAppKey = "1106316278";
+        public static string QQZoneAppSecreteForIOS = "MwrdToADs0yzeqxD";
+        public static string QQZoneAppSecreteForAndroid = "MwrdToADs0yzeqxD";
 
         public static string SinaAppKey = "568898243";
         public static string SinaAppSecrete = "38a4f8204cc784f81f9f0daaf31e02e3";
 
-        public static string FacebookAppKey = "107704292745179";
-        public static string FacebookAppSecrete = "38053202e1a5fe26c80c753071f0b573";
+        public static string FacebookAppKey = "138557386743472";
+        public static string FacebookAppSecrete = "ad4f8d51485a5af6a1a48d011d08bb89";
 
         private int reqID;
 		public DevInfoSet devInfo;

+ 18 - 0
Assets/Resource/Logo.unity

@@ -427,6 +427,7 @@ GameObject:
   m_Component:
   - component: {fileID: 1833966245}
   - component: {fileID: 1833966244}
+  - component: {fileID: 1833966246}
   m_Layer: 0
   m_Name: ManagerGame
   m_TagString: Untagged
@@ -460,3 +461,20 @@ Transform:
   m_Father: {fileID: 0}
   m_RootOrder: 2
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &1833966246
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1833966243}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: ef3c42f14ba649d4aaf2ea3afe194ba7, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
+  Sprite: {fileID: 0}
+  Graphic: {fileID: 0}
+  TextAsset1: {fileID: 0}
+  TextAsset2: {fileID: 0}
+  Texture2D: {fileID: 0}
+  SpriteRenderer: {fileID: 0}

+ 9 - 6
Assets/Script/Editor/PostProcessor.cs

@@ -58,12 +58,12 @@ public class NewBehaviourScript
 
         plist.root.SetString("Bundle display name", "${CFBundleDisplayName }");
 
-        var infoDirs = Directory.GetDirectories(Application.dataPath + "\\AppleDependency");
-        for (var i = 0; i < infoDirs.Length; ++i)
-        {
-            var files = Directory.GetFiles(infoDirs[i], "*.strings");
-            project.AddLocalization(files[0], "InfoPlist.strings", "InfoPlist.strings");
-        }
+        //var infoDirs = Directory.GetDirectories(Application.dataPath + "/AppleDependency/");
+        //for (var i = 0; i < infoDirs.Length; ++i)
+        //{
+        //    var files = Directory.GetFiles(infoDirs[i], "*.strings");
+        //    project.AddLocalization(Path.GetFileNameWithoutExtension(files[i]), "InfoPlist.strings", "InfoPlist.strings");
+        //}
 
 
         //修改UnityAppController.mm
@@ -77,9 +77,12 @@ public class NewBehaviourScript
 
         while (!string.IsNullOrEmpty(line = streamReader.ReadLine()))
         {
+            Debug.Log(line);
             lines.Add(line);
         }
 
+        Debug.Log(line);
+
         streamReader.Close();
 
         lines.Insert