Log which extraction backend was used (7zjbinding/zip4j/legacy)
Some checks are pending
Build and Release / build (push) Waiting to run
Some checks are pending
Build and Release / build (push) Waiting to run
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
de369f3bcd
commit
b712282f62
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "real-debrid-downloader",
|
"name": "real-debrid-downloader",
|
||||||
"version": "1.5.43",
|
"version": "1.5.44",
|
||||||
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
|
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
|
||||||
"main": "build/main/main/main.js",
|
"main": "build/main/main/main.js",
|
||||||
"author": "Sucukdeluxe",
|
"author": "Sucukdeluxe",
|
||||||
|
|||||||
@ -1177,6 +1177,7 @@ async function runExternalExtract(
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (jvmResult.ok) {
|
if (jvmResult.ok) {
|
||||||
|
logger.info(`Entpackt via ${jvmResult.backend || "jvm"}: ${path.basename(archivePath)}`);
|
||||||
return jvmResult.usedPassword;
|
return jvmResult.usedPassword;
|
||||||
}
|
}
|
||||||
if (jvmResult.aborted) {
|
if (jvmResult.aborted) {
|
||||||
@ -1206,8 +1207,11 @@ async function runExternalExtract(
|
|||||||
timeoutMs,
|
timeoutMs,
|
||||||
hybridMode
|
hybridMode
|
||||||
);
|
);
|
||||||
|
const extractorName = path.basename(command).replace(/\.exe$/i, "");
|
||||||
if (jvmFailureReason) {
|
if (jvmFailureReason) {
|
||||||
logger.info(`Legacy-Extractor übernahm nach JVM-Fehler: ${path.basename(archivePath)}`);
|
logger.info(`Entpackt via legacy/${extractorName} (nach JVM-Fehler): ${path.basename(archivePath)}`);
|
||||||
|
} else {
|
||||||
|
logger.info(`Entpackt via legacy/${extractorName}: ${path.basename(archivePath)}`);
|
||||||
}
|
}
|
||||||
return password;
|
return password;
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user