Add option to append file extension in ExtractToDirectory
Some checks failed
build / build (push) Has been cancelled
build / publish (push) Has been cancelled

Introduced an 'appendExtension' parameter to ExtractToDirectory, allowing guessed file extensions to be appended to extracted resource filenames. This enhances usability by making extracted files easier to identify by type.
This commit is contained in:
ema
2026-01-20 00:43:00 +08:00
parent 78f2733694
commit 1209d51439
2 changed files with 8 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ public sealed partial class Plugin
// Chromium resource package file v5 extraction
await Task.Run(() =>
{
PakExtractor.ExtractToDirectory(_path, dialog.FileName);
PakExtractor.ExtractToDirectory(_path, dialog.FileName, appendExtension: true);
});
}
}