FIXUP: Add indication of faulty file command

This commit is contained in:
Alex Pyrgiotis 2025-01-20 12:23:56 +02:00
parent 02e63e5a49
commit 2b71e615a8
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -129,7 +129,9 @@ class DocumentToPixels(DangerzoneConverter):
# At least .odt, .docx, .odg, .odp, .ods, and .pptx
"application/zip": {
"type": "libreoffice",
# NOTE: Older `file` command cannot detect hwpx files properly.
# NOTE: `file` command < 5.45 cannot detect hwpx files properly, so we
# enable the extension in any case. See also:
# https://github.com/freedomofpress/dangerzone/pull/460#issuecomment-1654166465
"libreoffice_ext": "h2orestart.oxt",
},
# At least .doc, .docx, .odg, .odp, .odt, .pdf, .ppt, .pptx, .xls, and .xlsx