private Task CopyToNMSE(IAbsoluteFilePath dll) { var nmseDir = _gameDir.GetChildDirectoryWithName(@"binaries\NMSE"); nmseDir.MakeSurePathExists(); return(dll.CopyAsync(nmseDir)); }
private static Task HandleCopyFileInternal(IAbsoluteFilePath file, IAbsoluteFilePath dst, ITProgress status) { if (Common.Flags.Verbose) { MainLog.Logger.Info($"Copying {file} to {dst}"); } dst.MakeSureParentPathExists(); return(file.CopyAsync(dst, status: status)); }
private async Task <IAbsoluteFilePath> PackModInfoMod(IAbsoluteFilePath modInfoPath) { await modInfoPath.CopyAsync(modInfoPath.GetBrotherFileWithName("pak.modinfo")).ConfigureAwait(false); return(await CreatePakFile(modInfoPath.ParentDirectoryPath).ConfigureAwait(false)); }
private async Task<IAbsoluteFilePath> PackModInfoMod(IAbsoluteFilePath modInfoPath) { await modInfoPath.CopyAsync(modInfoPath.GetBrotherFileWithName("pak.modinfo")).ConfigureAwait(false); return await CreatePakFile(modInfoPath.ParentDirectoryPath).ConfigureAwait(false); }