Skip to content

Commit

Permalink
Update to support app extensions (.appex)
Browse files Browse the repository at this point in the history
  • Loading branch information
ealeksandrov committed Sep 17, 2015
1 parent c99120f commit f6193bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ProvisionQL/GeneratePreviewForURL.m
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview,
{
[synthesizedInfo setObject:[URL lastPathComponent] forKey:@"FileName"];

if ([[URL pathExtension] isEqualToString:@"app"]) {
if ([[URL pathExtension] isEqualToString:@"app"] || [[URL pathExtension] isEqualToString:@"appex"]) {
// get the "file" information using the application package folder
NSString *folderPath = [URL path];

Expand Down
3 changes: 2 additions & 1 deletion ProvisionQL/Supporting-files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<string>com.apple.iphone.mobileprovision</string>
<string>com.apple.mobileprovision</string>
<string>com.apple.provisionprofile</string>
<string>com.apple.application-and-system-extension</string>
</array>
</dict>
</array>
Expand All @@ -30,7 +31,7 @@
<key>CFBundleShortVersionString</key>
<string>1</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<string>1.2.0</string>
<key>CFPlugInDynamicRegisterFunction</key>
<string></string>
<key>CFPlugInDynamicRegistration</key>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Supporting file types:

* `.ipa` - iOS packaged application
* `.app` - iOS application bundle
* `.appex` - iOS/OSX application extension
* `.mobileprovision` - iOS provisioning profile
* `.provisionprofile` - OSX provisioning profile

Expand Down

0 comments on commit f6193bb

Please sign in to comment.