fixed encrypted archives
This commit is contained in:
parent
ad24b29614
commit
a159f732a9
@ -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);
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user