|
@@ -66,6 +66,7 @@ namespace GFGEditor
|
|
[MenuItem("策划/更新并导入美术资源", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportArtRes)]
|
|
[MenuItem("策划/更新并导入美术资源", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportArtRes)]
|
|
static void UpdateAndImportArtResAndCommit()
|
|
static void UpdateAndImportArtResAndCommit()
|
|
{
|
|
{
|
|
|
|
+ UpdateProjectRes();
|
|
UpdateAndImportArtRes();
|
|
UpdateAndImportArtRes();
|
|
if (CommitWhenRelease)
|
|
if (CommitWhenRelease)
|
|
{
|
|
{
|
|
@@ -94,6 +95,7 @@ namespace GFGEditor
|
|
Thread.Sleep(1000);
|
|
Thread.Sleep(1000);
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGame.bat");
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGame.bat");
|
|
|
|
+ UpdateProjectRes();
|
|
EditorUtility.ClearProgressBar();
|
|
EditorUtility.ClearProgressBar();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -125,6 +127,11 @@ namespace GFGEditor
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+ private static void UpdateProjectRes()
|
|
|
|
+ {
|
|
|
|
+ ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGameRes.bat");
|
|
|
|
+ }
|
|
|
|
+
|
|
public static void UpdateExcel()
|
|
public static void UpdateExcel()
|
|
{
|
|
{
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新表格", 1);
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新表格", 1);
|
|
@@ -147,6 +154,7 @@ namespace GFGEditor
|
|
static void CommitProject()
|
|
static void CommitProject()
|
|
{
|
|
{
|
|
EditorUtility.DisplayProgressBar("进度", "正在提交项目", 1);
|
|
EditorUtility.DisplayProgressBar("进度", "正在提交项目", 1);
|
|
|
|
+ DeleteFileHelper.TrySvnRemoveDeleteFile();
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "commitGame.bat");
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "commitGame.bat");
|
|
EditorUtility.ClearProgressBar();
|
|
EditorUtility.ClearProgressBar();
|
|
}
|
|
}
|
|
@@ -278,8 +286,8 @@ namespace GFGEditor
|
|
|
|
|
|
FileUtil.DeleteUnnecessaryImage(ImportArtResTool.TextureTargetPath, new string[] { ImportArtResTool.EffectTextureMd5FileSaveName });
|
|
FileUtil.DeleteUnnecessaryImage(ImportArtResTool.TextureTargetPath, new string[] { ImportArtResTool.EffectTextureMd5FileSaveName });
|
|
|
|
|
|
|
|
+ DeleteFileHelper.TrySvnRemoveDeleteFile();
|
|
EditorUtility.ClearProgressBar();
|
|
EditorUtility.ClearProgressBar();
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
[MenuItem("Tools/List Player Assemblies in Console")]
|
|
[MenuItem("Tools/List Player Assemblies in Console")]
|