Esempio n. 1
0
            private Task CopyToNMSE(IAbsoluteFilePath dll)
            {
                var nmseDir = _gameDir.GetChildDirectoryWithName(@"binaries\NMSE");

                nmseDir.MakeSurePathExists();
                return(dll.CopyAsync(nmseDir));
            }
Esempio n. 2
0
 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));
 }
Esempio n. 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));
            }
 private async Task<IAbsoluteFilePath> PackModInfoMod(IAbsoluteFilePath modInfoPath) {
     await modInfoPath.CopyAsync(modInfoPath.GetBrotherFileWithName("pak.modinfo")).ConfigureAwait(false);
     return await CreatePakFile(modInfoPath.ParentDirectoryPath).ConfigureAwait(false);
 }