Explorar el Código

server不再兼容mono,dll加载也不需要区分mono了

tanghai hace 7 años
padre
commit
5b9f3fe32f
Se han modificado 2 ficheros con 2 adiciones y 4 borrados
  1. 0 4
      Server/Model/Base/Helper/DllHelper.cs
  2. 2 0
      Tools/cwRsync/Config/exclude.txt

+ 0 - 4
Server/Model/Base/Helper/DllHelper.cs

@@ -10,11 +10,7 @@ namespace ETModel
 		public static Assembly GetHotfixAssembly()
 		{
 			byte[] dllBytes = File.ReadAllBytes("./Hotfix.dll");
-#if __MonoCS__
-			byte[] pdbBytes = File.ReadAllBytes("./Hotfix.dll.mdb");
-#else
 			byte[] pdbBytes = File.ReadAllBytes("./Hotfix.pdb");
-#endif
 			Assembly assembly = Assembly.Load(dllBytes, pdbBytes);
 			return assembly;
 		}

+ 2 - 0
Tools/cwRsync/Config/exclude.txt

@@ -14,3 +14,5 @@ Unity/Assets/Bundles/
 Unity/Assets/Scenes/
 .vs/
 .idea/
+Release/
+Unity/Assets/StreamingAssets/