public void RepackPbo(IAbsoluteFilePath pboFile) { var unpackedPboFolder = pboFile.GetBrotherDirectoryWithName(pboFile.FileNameWithoutExtension); using (new TmpDirectory(unpackedPboFolder)) { UnpackPbo(pboFile); CreatePboPrefixFileIfNeeded(unpackedPboFolder); PackFolder(unpackedPboFolder); } }
public static void InstallTaskForceRadio(IAbsoluteFilePath fi, IAbsoluteDirectoryPath path, bool force) { if (!InstallTs3Plugin(fi, path, force)) { return; } var di = fi.GetBrotherDirectoryWithName("radio-sounds"); if (di.Exists) { InstallTs3PluginFolder(di, path, force); } }
public static void InstallTaskForceRadio(IAbsoluteFilePath fi, IAbsoluteDirectoryPath path, bool force) { if (!InstallTs3Plugin(fi, path, force)) return; var di = fi.GetBrotherDirectoryWithName("radio-sounds"); if (di.Exists) InstallTs3PluginFolder(di, path, force); }