private static void BuildPatch(ArchiveFolderManager archiveFolderManager, int index, string installerName, string patchNamePrefix) { var patchBuilder = new PatchBuilder(installerName, patchNamePrefix, archiveFolderManager.GetNthFromEndVersion(index), archiveFolderManager.LatestVersion, archiveFolderManager.RootArchiveFolder); var patchPath = patchBuilder.BuildPatch(); if (patchPath == null) return; var patchWrapper = new PatchWrapper(patchPath); patchWrapper.Wrap(); }
private static void BuildPatch(ArchiveFolderManager archiveFolderManager, int index, string installerName, string patchNamePrefix) { var patchBuilder = new PatchBuilder(installerName, patchNamePrefix, archiveFolderManager.GetNthFromEndVersion(index), archiveFolderManager.LatestVersion, archiveFolderManager.RootArchiveFolder); var patchPath = patchBuilder.BuildPatch(); if (patchPath == null) { return; } var patchWrapper = new PatchWrapper(patchPath); patchWrapper.Wrap(); }