mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-17 18:51:50 +02:00
FIXUP: Add indication of faulty file command
This commit is contained in:
parent
02e63e5a49
commit
2b71e615a8
1 changed files with 3 additions and 1 deletions
|
@ -129,7 +129,9 @@ class DocumentToPixels(DangerzoneConverter):
|
||||||
# At least .odt, .docx, .odg, .odp, .ods, and .pptx
|
# At least .odt, .docx, .odg, .odp, .ods, and .pptx
|
||||||
"application/zip": {
|
"application/zip": {
|
||||||
"type": "libreoffice",
|
"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",
|
"libreoffice_ext": "h2orestart.oxt",
|
||||||
},
|
},
|
||||||
# At least .doc, .docx, .odg, .odp, .odt, .pdf, .ppt, .pptx, .xls, and .xlsx
|
# At least .doc, .docx, .odg, .odp, .odt, .pdf, .ppt, .pptx, .xls, and .xlsx
|
||||||
|
|
Loading…
Reference in a new issue