]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
Working zip import.
authorJeroen Leenarts <jeroen.leenarts@gmail.com>
Wed, 5 Sep 2018 18:25:54 +0000 (20:25 +0200)
committerJeroen Leenarts <jeroen.leenarts@gmail.com>
Wed, 5 Sep 2018 18:25:54 +0000 (20:25 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
WireGuard/Info.plist

index 0603681efb72ec41b7c12a110bbe0264316a085a..4c2bc469f40d49f281c726d2242e60775ae489c9 100644 (file)
@@ -2,16 +2,16 @@
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
-    <key>CFBundleDisplayName</key>
-    <string>${PRODUCT_NAME}</string>
        <key>CFBundleDevelopmentRegion</key>
        <string>$(DEVELOPMENT_LANGUAGE)</string>
+       <key>CFBundleDisplayName</key>
+       <string>${PRODUCT_NAME}</string>
        <key>CFBundleDocumentTypes</key>
        <array>
                <dict>
                        <key>CFBundleTypeExtensions</key>
                        <array>
-                               <string></string>
+                               <string>conf</string>
                        </array>
                        <key>CFBundleTypeIconFiles</key>
                        <array>
                                <string>com.wireguard.config.quick</string>
                        </array>
                </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>zip</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>zip</string>
+                       <key>CFBundleTypeIconFiles</key>
+                       <array/>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>application/zip</string>
+                               <string>application/x-zip</string>
+                               <string>application/x-zip-compressed</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>WireGuard Config Zip</string>
+                       <key>CFBundleTypeOSTypes</key>
+                       <array>
+                               <string>ZIP </string>
+                       </array>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+                       <key>LSItemContentTypes</key>
+                       <array>
+                               <string>com.pkware.zip-archive</string>
+                       </array>
+               </dict>
        </array>
        <key>CFBundleExecutable</key>
        <string>$(EXECUTABLE_NAME)</string>
        <true/>
        <key>LSSupportsOpeningDocumentsInPlace</key>
        <false/>
-    <key>UIFileSharingEnabled</key>
-    <true/>
        <key>NSCameraUsageDescription</key>
        <string>Camera is used to scan QR codes</string>
+       <key>UIFileSharingEnabled</key>
+       <true/>
        <key>UILaunchStoryboardName</key>
        <string>LaunchScreen</string>
        <key>UIRequiredDeviceCapabilities</key>