示例#1
0
        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();
        }
示例#2
0
        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();
        }