Skip to content

Commit 954c24d

Browse files
committed
archive: Add support for extracting tar with libarchive
1 parent 8f585f5 commit 954c24d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/source/fs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ namespace FS {
112112
return FileTypeApp;
113113
}
114114
else if ((strncasecmp(ext, "7z", 2) == 0) || (strncasecmp(ext, "lzma", 4) == 0) || (strncasecmp(ext, "rar", 3) == 0)
115-
|| (strncasecmp(ext, "zip", 3) == 0)) {
115+
|| (strncasecmp(ext, "tar", 3) == 0) || (strncasecmp(ext, "zip", 3) == 0)) {
116116
return FileTypeArchive;
117117
}
118118
else if ((strncasecmp(ext, "flac", 4) == 0) || (strncasecmp(ext, "it", 2) == 0) || (strncasecmp(ext, "mod", 3) == 0)

0 commit comments

Comments
 (0)