correct indentation on generated plist

This commit is contained in:
2025-05-17 14:46:22 -04:00
parent 2cab45fe9c
commit 4f951537c8
2 changed files with 228 additions and 228 deletions

View File

@@ -1,6 +1,6 @@
<key>CFBundleDocumentTypes</key>
<array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
@@ -197,4 +197,4 @@
<key>LSTypeIsPackage</key>
<false/>
</dict>
</array>
</array>

View File

@@ -27,8 +27,8 @@ func main() {
}
var tmpl = `
<key>CFBundleDocumentTypes</key>
<array>{{ range . }}
<key>CFBundleDocumentTypes</key>
<array>{{ range . }}
<dict>
<key>CFBundleTypeExtensions</key>
<array>{{ range .MacExtensions }}
@@ -55,4 +55,4 @@ var tmpl = `
<key>LSTypeIsPackage</key>
<false/>
</dict>{{ end }}
</array>`
</array>`