Beispiel #1
0
        public void GetFilesToPatch(ConcurrentBag <FileToPatch> filesToPatch, PatchOptions patchOptions)
        {
            string msgTmpFile = Path.GetTempFileName();

            _msgService.CreateMsgDat(Path.Combine(_mod.FolderPath, Constants.MsgFolderPath), msgTmpFile);
            filesToPatch.Add(new FileToPatch(Constants.MsgRomPath, msgTmpFile, FilePatchOptions.VariableLength | FilePatchOptions.DeleteSourceWhenDone));
        }