diff --git a/src/configs.qrc b/src/configs.qrc index 8698745b8837e981bb3423cd176dc9b9c6706809..25a14910a527cf6cee1135763e3a3e09138c3a48 100644 --- a/src/configs.qrc +++ b/src/configs.qrc @@ -1,5 +1,6 @@ <RCC> <qresource prefix="/"> <file>configs/application.json</file> + <file>configs/archive_types.json</file> </qresource> </RCC> diff --git a/src/configs/archive_types.json b/src/configs/archive_types.json new file mode 100644 index 0000000000000000000000000000000000000000..254fe2320eb66b6168a5a8c8484adf4b64003e5e --- /dev/null +++ b/src/configs/archive_types.json @@ -0,0 +1,24 @@ +{ + "tar": [ + "application/x-tar", + "application/x-gzip", + "application/gzip", + "application/x-bzip", + "application/x-bzip2", + "application/x-xz", + "application/x-lzma", + "application/x-lzip", + "application/x-compressed-tar", + "application/x-bzip-compressed-tar", + "application/x-bzip2-compressed-tar", + "application/x-xz-compressed-tar", + "application/x-lzma-compressed-tar", + "application/x-lzip-compressed-tar" + ], + "zip": ["application/zip"], + "7z": ["application/x-7z-compressed"], + "rar": [ + "application/x-rar", + "application/x-rar-compressed" + ] +}