Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Commit

Permalink
Add support for Java archives
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Jun 3, 2020
1 parent 6db90d6 commit 130cccb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions QLPlugin/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
-->

<!-- Archive -->
<string>com.sun.java-archive</string> <!-- .jar (Java) -->
<string>com.sun.web-application-archive</string> <!-- .war (Java) -->
<string>dyn.ah62d4rv4ge80n2pw</string> <!-- .ear (Java) -->
<string>org.gnu.gnu-zip-archive</string> <!-- .gz -->
<string>public.tar-archive</string> <!-- .tar -->
<string>public.zip-archive</string> <!-- .zip -->
Expand Down
2 changes: 1 addition & 1 deletion QLPlugin/Views/PreviewVCFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class PreviewVCFactory {
return TARPreview.self
case "tab", "tsv":
return TSVPreview.self
case "zip":
case "ear", "jar", "war", "zip":
return ZIPPreview.self
default:
return CodePreview.self
Expand Down

0 comments on commit 130cccb

Please sign in to comment.