Skip to content

Commit

Permalink
Support them all, let QuickLook sort them out
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Stanishevskiy committed Sep 10, 2023
1 parent 0863ba3 commit 73f4c5a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
4 changes: 4 additions & 0 deletions QuickLookPreview.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
7CC257B22A95F71D00B6742A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
7CC257B72A95F71D00B6742A /* QuickLookPreview.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = QuickLookPreview.entitlements; sourceTree = "<group>"; };
7CDB5A392AAD3661002B316C /* Main.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = Main.xib; sourceTree = "<group>"; };
7CDB5A3B2AAD3D91002B316C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -50,6 +51,7 @@
7CC257AD2A95F71C00B6742A /* QuickLookPreview */ = {
isa = PBXGroup;
children = (
7CDB5A3B2AAD3D91002B316C /* Info.plist */,
7CC257AE2A95F71C00B6742A /* AppDelegate.swift */,
7CC257B22A95F71D00B6742A /* Assets.xcassets */,
7CC257B72A95F71D00B6742A /* QuickLookPreview.entitlements */,
Expand Down Expand Up @@ -262,6 +264,7 @@
DEVELOPMENT_TEAM = G84U56F244;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = QuickLookPreview/Info.plist;
INFOPLIST_KEY_LSUIElement = NO;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSMainNibFile = Main;
Expand Down Expand Up @@ -294,6 +297,7 @@
DEVELOPMENT_TEAM = G84U56F244;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = QuickLookPreview/Info.plist;
INFOPLIST_KEY_LSUIElement = NO;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSMainNibFile = Main;
Expand Down
27 changes: 27 additions & 0 deletions QuickLookPreview/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>*</string>
</array>
<key>CFBundleTypeName</key>
<string>AllTypes</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>NSDocumentClass</key>
<string>FileDataDocument</string>
</dict>
</array>
</dict>
</plist>

0 comments on commit 73f4c5a

Please sign in to comment.