mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ArchiveTools] Get full path of combined file
This commit is contained in:
@@ -212,7 +212,7 @@ namespace SabreTools.Helper
|
|||||||
logger.Log("Current entry name: '" + reader.Entry.Key + "'");
|
logger.Log("Current entry name: '" + reader.Entry.Key + "'");
|
||||||
if (reader.Entry != null && reader.Entry.Key.Contains(entryname))
|
if (reader.Entry != null && reader.Entry.Key.Contains(entryname))
|
||||||
{
|
{
|
||||||
outfile = Path.Combine(tempdir, reader.Entry.Key);
|
outfile = Path.GetFullPath(Path.Combine(tempdir, reader.Entry.Key));
|
||||||
if (!Directory.Exists(Path.GetDirectoryName(outfile)))
|
if (!Directory.Exists(Path.GetDirectoryName(outfile)))
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(Path.GetDirectoryName(outfile));
|
Directory.CreateDirectory(Path.GetDirectoryName(outfile));
|
||||||
|
|||||||
Reference in New Issue
Block a user