From 5ef1b4801e7365b4cbf53c6ee829259dde32b5ee Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 28 Oct 2013 21:03:26 +0100 Subject: adds Windows Imaging Format (.wim, .swm) support --- src/fr-command-7z.c | 1 + src/main.c | 3 +++ 2 files changed, 4 insertions(+) (limited to 'src') diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c index 9909271..b61868b 100644 --- a/src/fr-command-7z.c +++ b/src/fr-command-7z.c @@ -526,6 +526,7 @@ const char *sevenz_mime_types[] = { "application/x-7z-compressed", /*"application/x-cbr",*/ "application/x-cbz", "application/x-ms-dos-executable", + "application/x-ms-wim", "application/x-rar", "application/zip", NULL }; diff --git a/src/main.c b/src/main.c index bbcaa31..fed73bb 100644 --- a/src/main.c +++ b/src/main.c @@ -113,6 +113,7 @@ FrMimeTypeDescription mime_type_desc[] = { { "application/x-lzma-compressed-tar", ".tar.lzma", N_("Tar compressed with lzma (.tar.lzma)"), 0 }, { "application/x-lzop", ".lzo", NULL, 0 }, { "application/x-lzop-compressed-tar", ".tar.lzo", N_("Tar compressed with lzop (.tar.lzo)"), 0 }, + { "application/x-ms-wim", ".wim", N_("Windows Imaging Format (.wim)"), 0 }, { "application/x-rar", ".rar", N_("Rar (.rar)"), 0 }, { "application/x-rpm", ".rpm", NULL, 0 }, { "application/x-rzip", ".rz", NULL, 0 }, @@ -156,6 +157,7 @@ FrExtensionType file_ext_type[] = { { ".rpm", "application/x-rpm" }, { ".rz", "application/x-rzip" }, { ".sit", "application/x-stuffit" }, + { ".swm", "application/x-ms-wim" }, { ".tar", "application/x-tar" }, { ".tar.bz", "application/x-bzip-compressed-tar" }, { ".tar.bz2", "application/x-bzip-compressed-tar" }, @@ -176,6 +178,7 @@ FrExtensionType file_ext_type[] = { { ".tzma", "application/x-lzma-compressed-tar" }, { ".tzo", "application/x-lzop-compressed-tar" }, { ".war", "application/x-war" }, + { ".wim", "application/x-ms-wim" }, { ".xz", "application/x-xz" }, { ".z", "application/x-gzip" }, { ".Z", "application/x-compress" }, -- cgit v1.2.1