mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 20:43:09 +00:00
Disable apak file adding until file hashes can be calculated
This commit is contained in:
parent
018a55c63e
commit
9f3b99aaf4
2 changed files with 2 additions and 4 deletions
|
@ -46,7 +46,7 @@ namespace FirstPlugin
|
|||
|
||||
public void ClearFiles() { files.Clear(); }
|
||||
|
||||
public bool CanAddFiles { get; set; } = true;
|
||||
public bool CanAddFiles { get; set; } = false;
|
||||
public bool CanRenameFiles { get; set; } = true;
|
||||
public bool CanReplaceFiles { get; set; } = true;
|
||||
public bool CanDeleteFiles { get; set; } = true;
|
||||
|
|
|
@ -304,7 +304,7 @@ namespace Toolbox.Library
|
|||
{
|
||||
new STToolStripItem("Save", SaveAction) { Enabled = ((IFileFormat)ArchiveFile).CanSave},
|
||||
new STToolStripSeparator(),
|
||||
new STToolStripItem("Repack", RepackAction){ Enabled = ArchiveFile.CanReplaceFiles},
|
||||
new STToolStripItem("Repack", RepackAction){ Enabled = ArchiveFile.CanAddFiles },
|
||||
new STToolStripItem("Extract All", ExtractAllAction),
|
||||
new STToolStripSeparator(),
|
||||
new STToolStripItem("Preview Archive", PreviewAction),
|
||||
|
@ -573,8 +573,6 @@ namespace Toolbox.Library
|
|||
}
|
||||
else //Else create directories by filename paths
|
||||
{
|
||||
|
||||
int I = 0;
|
||||
foreach (var node in archiveFile.Files)
|
||||
{
|
||||
if (!node.CanLoadFile)
|
||||
|
|
Loading…
Reference in a new issue