mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ArchiveTools] Add to factory
This commit is contained in:
@@ -108,12 +108,18 @@ namespace SabreTools.Library.Tools
|
||||
return new GZipArchive();
|
||||
case OutputFormat.TorrentLRZip:
|
||||
return new LRZipArchive();
|
||||
case OutputFormat.TorrentLZ4:
|
||||
return new LZ4Archive();
|
||||
case OutputFormat.TorrentRar:
|
||||
return new RarArchive();
|
||||
case OutputFormat.TorrentXZ:
|
||||
return new XZArchive();
|
||||
case OutputFormat.TorrentZip:
|
||||
return new TorrentZipArchive();
|
||||
case OutputFormat.TorrentZPAQ:
|
||||
return new ZPAQArchive();
|
||||
case OutputFormat.TorrentZstd:
|
||||
return new ZstdArchive();
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user