示例#1
0
        public static void UpdateAndRunJob()
        {
            IgorDebug.CoreLog("UpdateAndRunJob invoked from command line.");

            IgorJobConfig.SetBoolParam("updatebeforebuild", true);

            IgorConfigWindow.OpenOrGetConfigWindow();

            bool DidUpdate = IgorUpdater.CheckForUpdates(false, false, true);

            if (!DidUpdate)
            {
                IgorDebug.CoreLog("Igor did not need to update, running job.");

                EditorHandleJobStatus(IgorCore.RunJob());
            }
            else
            {
                IgorDebug.CoreLog("Igor needed to update, waiting for re-compile to run a job...");
            }
        }
示例#2
0
        public static void MenuCheckForUpdates()
        {
            IgorUpdater.bTriggerConfigWindowRefresh = true;

            IgorUpdater.CheckForUpdates(true, true);
        }