fixed encrypted archives

This commit is contained in:
Radek Davidek 2026-05-25 16:34:39 +02:00
parent ad24b29614
commit a159f732a9
2 changed files with 8 additions and 1 deletions

View File

@ -939,6 +939,13 @@ public class FileOperations {
return false; return false;
} }
// Known archive extensions should always be considered openable.
// Some encrypted archives cannot be probed with lightweight readers
// but are still supported by the real extraction path.
if (isArchiveFile(file)) {
return true;
}
// Always try to detect format by actually reading the file content // Always try to detect format by actually reading the file content
// This works for any file regardless of extension // This works for any file regardless of extension
return tryDetectArchiveFormat(file); return tryDetectArchiveFormat(file);

View File

@ -4928,7 +4928,7 @@ public class FilePanelTab extends JPanel {
@Override @Override
public boolean isCancelled() { public boolean isCancelled() {
return progressDialog == null || !progressDialog.isVisible(); return progressDialog == null || progressDialog.isCancelled();
} }
@Override @Override