/// <summary> /// 打包机专用,相当于调用 Tools♥/[打包ANDROID] /// </summary> //[MenuItem("Tools♥/码农专用/[打包机 GenData4Android简体]", false)] public static void Pack4AndroidSlient() { using (ProgressBarAutoHide.Get(0)) using (HSUtils.ExeTimer("菜单: [打包机 GenData4Android简体]")) using (RunTimeConfiger.EnterRobotMode) Pack4Current(); }
public static void UpdateAllInner(string title) { MenuHelper.SafeDisplayProgressBar(title, "检查新XLS需要转换为XML", 0.1f); using (HSUtils.ExeTimer("Xls2XMLHelperWin.SafeRunBlocked")) Xls2XMLHelperWin.SafeRunBlocked(false); MenuHelper.SafeDisplayProgressBar(title, "加载更新的XML", 0.5f); using (ProgressBarAutoHide.Get(0)) { ConfigTable.VisitValues((beanDict) => { XMLBDUpdater.Instance.UpdateChanged(beanDict, CancellationToken.None, (s, p) => MenuHelper.SafeDisplayProgressBar("加载XML", s, p)); }); MenuHelper.SafeDisplayProgressBar(title, "查看lua更新情况", 0.7f); //LuaMenu.UpdateLuaInDesignMode(title); } MenuHelper.SafeShow100Progress(title); }