public Uploader(ProductData productData) { this.productData = productData; InitializeComponent(); DataContext = this; title.Content = productData.realName; buildData = EpicData.Load <BuildUploadData>(productData.realName); buildRootText.Text = buildData.buildRoot; cloudDirText.Text = buildData.cloudDir; buildVersionText.Text = buildData.buildVersion; appLaunchText.Text = buildData.appLaunch; appArgsText.Text = buildData.appArgs; Progress = 0; }
public static ProcessStartInfo BuildPatchGenCommand(EpicData epicData, ProductData productData, BuildUploadData buildData) { ProcessStartInfo processStartInfo = BuildCommand(epicData, productData, EpicMode.PatchGeneration, buildData.staging); string command = ""; AddParameter(ref command, FeatureLevelKey, "Latest"); AddParameter(ref command, BuildRootKey, buildData.buildRoot); AddParameter(ref command, CloudDirKey, buildData.cloudDir); AddParameter(ref command, BuildVersionKey, buildData.buildVersion); AddParameter(ref command, AppLaunchKey, buildData.appLaunch); AddParameter(ref command, AppArgsKey, buildData.appArgs); processStartInfo.Arguments += command; return(processStartInfo); }