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