浏览代码

Merge branch 'master' of http://10.108.64.190:3000/gfg/client

zhaoyang 2 年之前
父节点
当前提交
fa2be590fe

+ 2 - 0
.gitignore

@@ -32,3 +32,5 @@
 /GameClient/Assets/ResIn/Dll
 /GameClient/HybridCLRData
 /GameClient/Assets/HybridCLRData
+/GameClient/Assets/StreamingAssets/build_info
+/GameClient/Assets/StreamingAssets/build_info.meta

+ 8 - 0
GameClient/Assets/Editor/BuildEditor/BuildDllHelper.cs

@@ -21,6 +21,10 @@ namespace GFGEditor
 
             string hotfixDllSrcDir = SettingsUtil.GetHotUpdateDllsOutputDirByTarget(target);
             string hotfixAssembliesDstDir = LauncherConfig.DllDirHotfix;
+            if (!Directory.Exists(LauncherConfig.DllDirHotfix))
+            {
+                Directory.CreateDirectory(LauncherConfig.DllDirHotfix);
+            }
             foreach (var dll in SettingsUtil.HotUpdateAssemblyFiles)
             {
                 string dllPath = $"{hotfixDllSrcDir}/{dll}";
@@ -36,6 +40,10 @@ namespace GFGEditor
             var target = EditorUserBuildSettings.activeBuildTarget;
             string aotAssembliesSrcDir = SettingsUtil.GetAssembliesPostIl2CppStripDir(target);
             string aotAssembliesDstDir = LauncherConfig.DllDirAOT;
+            if(!Directory.Exists(LauncherConfig.DllDirAOT))
+            {
+                Directory.CreateDirectory(LauncherConfig.DllDirAOT);
+            }
 
             foreach (var dll in HotUpdateCodeLoader.AOTMetaAssemblyNames)
             {

+ 0 - 1
GameClient/Assets/StreamingAssets/build_info

@@ -1 +0,0 @@
-Build from PC-20210915NALA at 2022/11/26 19:01:18

+ 0 - 7
GameClient/Assets/StreamingAssets/build_info.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: a57acf03bb846c54aa34d0d589502214
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: