Add PAK file support to ArchiveViewer plugin

Introduced PakInfoPanel for displaying PAK archive contents, including new XAML and code-behind files. Updated Plugin.cs to use PakInfoPanel when opening .pak files, enabling preview and basic information display for Chromium resource packages.
This commit is contained in:
ema
2026-01-15 03:47:07 +08:00
parent 6c10fb14e2
commit b553a802c6
3 changed files with 209 additions and 4 deletions

View File

@@ -92,10 +92,7 @@ public sealed partial class Plugin : IViewer, IMoreMenu
}
else if (path.EndsWith(".pak", StringComparison.OrdinalIgnoreCase))
{
var dict = PakExtractor.ExtractToDictionary(path);
// TODO
_ = dict;
_panel = new PakInfoPanel(path);
}
else
{