|
@@ -43,6 +43,10 @@ namespace GFGEditor
|
|
{
|
|
{
|
|
UpdateExcel();
|
|
UpdateExcel();
|
|
ImportExcel();
|
|
ImportExcel();
|
|
|
|
+ if (CommitWhenRelease)
|
|
|
|
+ {
|
|
|
|
+ CommitProject();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
[MenuItem("策划/更新并导入美术资源", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportArtRes)]
|
|
[MenuItem("策划/更新并导入美术资源", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportArtRes)]
|
|
@@ -50,6 +54,10 @@ namespace GFGEditor
|
|
{
|
|
{
|
|
UpdateArtRes();
|
|
UpdateArtRes();
|
|
ImportArtRes();
|
|
ImportArtRes();
|
|
|
|
+ if (CommitWhenRelease)
|
|
|
|
+ {
|
|
|
|
+ CommitProject();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
[MenuItem("策划/更新至内网版本", false, (int)TOOL_MENU_PRIORITY.BuildBundlesRes)]
|
|
[MenuItem("策划/更新至内网版本", false, (int)TOOL_MENU_PRIORITY.BuildBundlesRes)]
|
|
@@ -64,7 +72,7 @@ namespace GFGEditor
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- [MenuItem("策划/其它/更新项目", false, (int)TOOL_MENU_PRIORITY.UpdateProject)]
|
|
|
|
|
|
+ [MenuItem("策划/其它/更新项目(会丢弃未推送内容)", false, (int)TOOL_MENU_PRIORITY.UpdateProject)]
|
|
static void UpdateProject()
|
|
static void UpdateProject()
|
|
{
|
|
{
|
|
SQLiteHelper.Instance.CloseConnection();
|
|
SQLiteHelper.Instance.CloseConnection();
|