mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-16 22:08:26 +00:00
Fix hash only sarcs from saving
This commit is contained in:
parent
831efdb027
commit
b87cc40857
8 changed files with 8 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -195,12 +195,15 @@ namespace FirstPlugin
|
|||
{
|
||||
string dir = Path.GetDirectoryName(sarc.FullName);
|
||||
|
||||
if (dir == string.Empty)
|
||||
sarc.FullName = sarc.Text;
|
||||
else
|
||||
sarc.FullName = Path.Combine(dir, sarc.Text);
|
||||
if (!sarcData.HashOnly)
|
||||
{
|
||||
if (dir == string.Empty)
|
||||
sarc.FullName = sarc.Text;
|
||||
else
|
||||
sarc.FullName = Path.Combine(dir, sarc.Text);
|
||||
|
||||
sarc.FullName = sarc.FullName.Replace(@"\", "/");
|
||||
sarc.FullName = sarc.FullName.Replace(@"\", "/");
|
||||
}
|
||||
|
||||
sarcData.Files.Add(sarc.FullName, sarc.Data);
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue