Fix UNSUPPORTEDMETHOD: init SevenZipJBinding native libs, pass password to extractSlow
Build and Release / build (push) Has been cancelled
Build and Release / build (push) Has been cancelled
Root cause: SevenZip.initSevenZipFromPlatformJAR() was never called, so native compression codecs (RAR5, LZMA2, etc.) were not loaded. Archives could be opened (header parsing is pure Java) but all extractSlow() calls returned UNSUPPORTEDMETHOD because no native decoder was available. - Add ensureSevenZipInitialized() with lazy init before extraction - Pass password to extractSlow(outStream, password) for RAR5 compatibility - Add UNSUPPORTEDMETHOD -> legacy fallback in extractor.ts as safety net Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
eefb536cb3
commit
fa30e738d9
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "real-debrid-downloader",
|
||||
"version": "1.5.46",
|
||||
"version": "1.5.47",
|
||||
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
|
||||
"main": "build/main/main/main.js",
|
||||
"author": "Sucukdeluxe",
|
||||
|
||||
Reference in New Issue
Block a user