예제 #1
0
            private async Task <IAbsoluteFilePath> PackModInfoMod(IAbsoluteFilePath modInfoPath)
            {
                await modInfoPath.CopyAsync(modInfoPath.GetBrotherFileWithName("pak.modinfo")).ConfigureAwait(false);

                return(await CreatePakFile(modInfoPath.ParentDirectoryPath).ConfigureAwait(false));
            }
예제 #2
0
 protected static IAbsoluteFilePath GetBackupFile(IAbsoluteFilePath destPakFile)
 => destPakFile.GetBrotherFileWithName(destPakFile.FileNameWithoutExtension + ".bak");
예제 #3
0
 private async Task<IAbsoluteFilePath> PackModInfoMod(IAbsoluteFilePath modInfoPath) {
     await modInfoPath.CopyAsync(modInfoPath.GetBrotherFileWithName("pak.modinfo")).ConfigureAwait(false);
     return await CreatePakFile(modInfoPath.ParentDirectoryPath).ConfigureAwait(false);
 }