|
@@ -32,6 +32,10 @@ namespace GFGEditor
|
|
|
UpdateProject();
|
|
|
UpdateAndImportArtRes();
|
|
|
UpdateAndImportExcel();
|
|
|
+ if (CommitWhenRelease)
|
|
|
+ {
|
|
|
+ CommitProject();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
[MenuItem("策划/更新并导入Excel", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportExcel)]
|
|
@@ -56,7 +60,7 @@ namespace GFGEditor
|
|
|
EditorUtility.ClearProgressBar();
|
|
|
if (CommitWhenRelease)
|
|
|
{
|
|
|
- CommitProject();
|
|
|
+ CommitBundles();
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -96,6 +100,13 @@ namespace GFGEditor
|
|
|
EditorUtility.ClearProgressBar();
|
|
|
}
|
|
|
|
|
|
+ static void CommitBundles()
|
|
|
+ {
|
|
|
+ EditorUtility.DisplayProgressBar("进度", "正在提交Bundles", 1);
|
|
|
+ ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "commitBundles.bat");
|
|
|
+ EditorUtility.ClearProgressBar();
|
|
|
+ }
|
|
|
+
|
|
|
[MenuItem("策划/其它/导入配置表", false, (int)TOOL_MENU_PRIORITY.ImportExcel)]
|
|
|
public static void ImportExcel()
|
|
|
{
|