add a way to add arbitrary plist contents

This commit is contained in:
2025-05-03 14:53:51 -04:00
parent 8405a8d01b
commit c56d5058ec
4 changed files with 87 additions and 2 deletions

33
testdata/additionalplist.xml vendored Normal file
View File

@@ -0,0 +1,33 @@
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>jpg</string>
<string>JPG</string>
<string>jpeg</string>
<string>JPEG</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>jpeg.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>image/jpeg</string>
</array>
<key>CFBundleTypeName</key>
<string>JPEG Image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>JPEG</string>
<string>????</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSItemContentTypes</key>
<array>
<string>public.jpeg</string>
</array>
<key>LSTypeIsPackage</key>
<false/>
</dict>
</array>