mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SabreTools.Helper] Update packages, add AlphaFS
This commit is contained in:
@@ -57,8 +57,8 @@
|
|||||||
<HintPath>..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\Mono.Data.Sqlite.dll</HintPath>
|
<HintPath>..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\Mono.Data.Sqlite.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="SharpCompress, Version=0.12.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="SharpCompress, Version=0.14.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\SharpCompress.0.12.4\lib\net45\SharpCompress.dll</HintPath>
|
<HintPath>..\packages\SharpCompress.0.14.0\lib\net45\SharpCompress.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
|||||||
@@ -9,11 +9,12 @@ using SabreTools.Helper.Dats;
|
|||||||
|
|
||||||
using Ionic.Zlib;
|
using Ionic.Zlib;
|
||||||
using ROMVault2.SupportedFiles.Zip;
|
using ROMVault2.SupportedFiles.Zip;
|
||||||
using SharpCompress.Archive;
|
using SharpCompress.Archives;
|
||||||
using SharpCompress.Archive.SevenZip;
|
using SharpCompress.Archives.SevenZip;
|
||||||
using SharpCompress.Archive.Tar;
|
using SharpCompress.Archives.Tar;
|
||||||
using SharpCompress.Common;
|
using SharpCompress.Common;
|
||||||
using SharpCompress.Reader;
|
using SharpCompress.Readers;
|
||||||
|
using SharpCompress.Writers;
|
||||||
|
|
||||||
namespace SabreTools.Helper.Tools
|
namespace SabreTools.Helper.Tools
|
||||||
{
|
{
|
||||||
@@ -79,7 +80,7 @@ namespace SabreTools.Helper.Tools
|
|||||||
SevenZipArchive sza = SevenZipArchive.Open(File.OpenRead(input));
|
SevenZipArchive sza = SevenZipArchive.Open(File.OpenRead(input));
|
||||||
foreach (IArchiveEntry iae in sza.Entries)
|
foreach (IArchiveEntry iae in sza.Entries)
|
||||||
{
|
{
|
||||||
iae.WriteToDirectory(tempDir, ExtractOptions.PreserveFileTime | ExtractOptions.ExtractFullPath | ExtractOptions.Overwrite);
|
iae.WriteToDirectory(tempDir, new ExtractionOptions{ PreserveFileTime = true, ExtractFullPath = true, Overwrite = true });
|
||||||
}
|
}
|
||||||
encounteredErrors = false;
|
encounteredErrors = false;
|
||||||
sza.Dispose();
|
sza.Dispose();
|
||||||
@@ -169,7 +170,7 @@ namespace SabreTools.Helper.Tools
|
|||||||
bool succeeded = reader.MoveToNextEntry();
|
bool succeeded = reader.MoveToNextEntry();
|
||||||
while (succeeded)
|
while (succeeded)
|
||||||
{
|
{
|
||||||
reader.WriteEntryToDirectory(tempDir, ExtractOptions.PreserveFileTime | ExtractOptions.ExtractFullPath | ExtractOptions.Overwrite);
|
reader.WriteEntryToDirectory(tempDir, new ExtractionOptions { PreserveFileTime = true, ExtractFullPath = true, Overwrite = true });
|
||||||
succeeded = reader.MoveToNextEntry();
|
succeeded = reader.MoveToNextEntry();
|
||||||
}
|
}
|
||||||
encounteredErrors = false;
|
encounteredErrors = false;
|
||||||
@@ -823,7 +824,7 @@ namespace SabreTools.Helper.Tools
|
|||||||
tarchive.AddEntry(key, inputFiles[index]);
|
tarchive.AddEntry(key, inputFiles[index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
tarchive.SaveTo(tarstream, new CompressionInfo { Type = CompressionType.None });
|
tarchive.SaveTo(tarstream, new WriterOptions(CompressionType.None));
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
|
<package id="AlphaFS" version="2.1.0" targetFramework="net452" />
|
||||||
<package id="Mono.Data.Sqlite.Portable" version="1.0.3.5" targetFramework="net452" />
|
<package id="Mono.Data.Sqlite.Portable" version="1.0.3.5" targetFramework="net452" />
|
||||||
<package id="SharpCompress" version="0.12.4" targetFramework="net452" />
|
<package id="SharpCompress" version="0.14.0" targetFramework="net452" />
|
||||||
</packages>
|
</packages>
|
||||||
@@ -74,8 +74,8 @@
|
|||||||
<HintPath>..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\Mono.Data.Sqlite.dll</HintPath>
|
<HintPath>..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\Mono.Data.Sqlite.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="SharpCompress, Version=0.12.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="SharpCompress, Version=0.14.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\SharpCompress.0.12.4\lib\net45\SharpCompress.dll</HintPath>
|
<HintPath>..\packages\SharpCompress.0.14.0\lib\net45\SharpCompress.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="Mono.Data.Sqlite.Portable" version="1.0.3.5" targetFramework="net452" />
|
<package id="Mono.Data.Sqlite.Portable" version="1.0.3.5" targetFramework="net452" />
|
||||||
<package id="SharpCompress" version="0.12.4" targetFramework="net452" />
|
<package id="SharpCompress" version="0.14.0" targetFramework="net452" />
|
||||||
</packages>
|
</packages>
|
||||||
BIN
packages/AlphaFS.2.1.0/AlphaFS.2.1.0.nupkg
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/AlphaFS.2.1.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/AlphaFS.2.1.0/lib/net35/AlphaFS.dll
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net35/AlphaFS.dll
vendored
Normal file
Binary file not shown.
BIN
packages/AlphaFS.2.1.0/lib/net35/AlphaFS.pdb
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net35/AlphaFS.pdb
vendored
Normal file
Binary file not shown.
21537
packages/AlphaFS.2.1.0/lib/net35/AlphaFS.xml
vendored
Normal file
21537
packages/AlphaFS.2.1.0/lib/net35/AlphaFS.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/AlphaFS.2.1.0/lib/net40/AlphaFS.dll
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net40/AlphaFS.dll
vendored
Normal file
Binary file not shown.
BIN
packages/AlphaFS.2.1.0/lib/net40/AlphaFS.pdb
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net40/AlphaFS.pdb
vendored
Normal file
Binary file not shown.
21537
packages/AlphaFS.2.1.0/lib/net40/AlphaFS.xml
vendored
Normal file
21537
packages/AlphaFS.2.1.0/lib/net40/AlphaFS.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/AlphaFS.2.1.0/lib/net45/AlphaFS.dll
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net45/AlphaFS.dll
vendored
Normal file
Binary file not shown.
BIN
packages/AlphaFS.2.1.0/lib/net45/AlphaFS.pdb
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net45/AlphaFS.pdb
vendored
Normal file
Binary file not shown.
21537
packages/AlphaFS.2.1.0/lib/net45/AlphaFS.xml
vendored
Normal file
21537
packages/AlphaFS.2.1.0/lib/net45/AlphaFS.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/AlphaFS.2.1.0/lib/net451/AlphaFS.dll
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net451/AlphaFS.dll
vendored
Normal file
Binary file not shown.
BIN
packages/AlphaFS.2.1.0/lib/net451/AlphaFS.pdb
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net451/AlphaFS.pdb
vendored
Normal file
Binary file not shown.
21537
packages/AlphaFS.2.1.0/lib/net451/AlphaFS.xml
vendored
Normal file
21537
packages/AlphaFS.2.1.0/lib/net451/AlphaFS.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/AlphaFS.2.1.0/lib/net452/AlphaFS.dll
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net452/AlphaFS.dll
vendored
Normal file
Binary file not shown.
BIN
packages/AlphaFS.2.1.0/lib/net452/AlphaFS.pdb
vendored
Normal file
BIN
packages/AlphaFS.2.1.0/lib/net452/AlphaFS.pdb
vendored
Normal file
Binary file not shown.
21537
packages/AlphaFS.2.1.0/lib/net452/AlphaFS.xml
vendored
Normal file
21537
packages/AlphaFS.2.1.0/lib/net452/AlphaFS.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
packages/SharpCompress.0.14.0/SharpCompress.0.14.0.nupkg
vendored
Normal file
BIN
packages/SharpCompress.0.14.0/SharpCompress.0.14.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/SharpCompress.0.14.0/lib/net35/SharpCompress.dll
vendored
Normal file
BIN
packages/SharpCompress.0.14.0/lib/net35/SharpCompress.dll
vendored
Normal file
Binary file not shown.
BIN
packages/SharpCompress.0.14.0/lib/net40/SharpCompress.dll
vendored
Normal file
BIN
packages/SharpCompress.0.14.0/lib/net40/SharpCompress.dll
vendored
Normal file
Binary file not shown.
BIN
packages/SharpCompress.0.14.0/lib/net45/SharpCompress.dll
vendored
Normal file
BIN
packages/SharpCompress.0.14.0/lib/net45/SharpCompress.dll
vendored
Normal file
Binary file not shown.
BIN
packages/SharpCompress.0.14.0/lib/netstandard1.0/SharpCompress.dll
vendored
Normal file
BIN
packages/SharpCompress.0.14.0/lib/netstandard1.0/SharpCompress.dll
vendored
Normal file
Binary file not shown.
BIN
packages/SharpCompress.0.14.0/lib/netstandard1.3/SharpCompress.dll
vendored
Normal file
BIN
packages/SharpCompress.0.14.0/lib/netstandard1.3/SharpCompress.dll
vendored
Normal file
Binary file not shown.
BIN
packages/SharpCompress.0.14.0/lib/portable40-net40+sl5+win8+wp8+wpa81/SharpCompress.dll
vendored
Normal file
BIN
packages/SharpCompress.0.14.0/lib/portable40-net40+sl5+win8+wp8+wpa81/SharpCompress.dll
vendored
Normal file
Binary file not shown.
BIN
packages/SharpCompress.0.14.0/lib/portable45-net45+win8+wp8+wpa81/SharpCompress.dll
vendored
Normal file
BIN
packages/SharpCompress.0.14.0/lib/portable45-net45+win8+wp8+wpa81/SharpCompress.dll
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user