コード例 #1
0
        private void OnBuildFinished(bool bBuildSucess)
        {
            if (bBuildSucess)
            {
                if (postBuildSettings.CanSaveToZip())
                {
                    string FinalBuildPath = Path.GetFullPath(AutomationExePath).Replace(@"\Engine\Binaries\DotNET", @"\LocalBuilds\Engine").Replace(Path.GetFileName(AutomationExePath), "");
                    postBuildSettings.SaveToZip(this, FinalBuildPath, postBuildSettings.ZipPath.Text);
                    AddLogEntry("Saving zip file to " + postBuildSettings.ZipPath.Text);
                    WriteToLogFile();
                    return;
                }
            }

            WriteToLogFile();
            TryShutdown();
        }
コード例 #2
0
        private void OnBuildFinished(bool bBuildSucess)
        {
            if (bBuildSucess)
            {
                if (postBuildSettings.CanSaveToZip())
                {
                    postBuildSettings.SaveToZip(this, FinalBuildPath, postBuildSettings.ZipPath.Text);
                    AddLogEntry("Saving zip file to " + postBuildSettings.ZipPath.Text);
                    WriteToLogFile();
                    return;
                }
            }

            WriteToLogFile();
            TryShutdown();
        }
コード例 #3
0
        private void OnBuildFinished(bool bBuildSucess)
        {
            if (bBuildSucess)
            {
                if (postBuildSettings.CanSaveToZip())
                {
                    if (FinalBuildPath == null)
                    {
                        FinalBuildPath = Path.GetFullPath(AutomationExePath).Replace(@"\Engine\Binaries\DotNET", @"\LocalBuilds\Engine").Replace(Path.GetFileName(AutomationExePath), "");
                        GameAnalyticsCSharp.LogEvent("Final Build Path was null. Fixed.", GameAnalyticsSDK.Net.EGAErrorSeverity.Info);
                    }
                    AddLogEntry(string.Format("Creating ZIP file. Target Engine Directory is {0}", FinalBuildPath));
                    postBuildSettings.PrepareToSave();
                    postBuildSettings.SaveToZip(this, FinalBuildPath, postBuildSettings.ZipPath.Text);
                    AddLogEntry("Saving zip file to " + postBuildSettings.ZipPath.Text);
                    WriteToLogFile();
                    return;
                }
            }

            WriteToLogFile();
            TryShutdown();
        }