Info.plist raw

   1  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
   2  <plist version="1.0">
   3      <dict>
   4          <key>CFBundlePackageType</key>
   5          <string>APPL</string>
   6          <key>CFBundleName</key>
   7          <string>{{.Info.ProductName}}</string>
   8          <key>CFBundleExecutable</key>
   9          <string>{{.Name}}</string>
  10          <key>CFBundleIdentifier</key>
  11          <string>com.getalby.{{.Name}}</string>
  12          <key>CFBundleVersion</key>
  13          <string>{{.Info.ProductVersion}}</string>
  14          <key>CFBundleGetInfoString</key>
  15          <string>{{.Info.Comments}}</string>
  16          <key>CFBundleShortVersionString</key>
  17          <string>{{.Info.ProductVersion}}</string>
  18          <key>CFBundleIconFile</key>
  19          <string>iconfile</string>
  20          <key>LSMinimumSystemVersion</key>
  21          <string>10.13.0</string>
  22          <key>NSHighResolutionCapable</key>
  23          <string>true</string>
  24          <key>NSHumanReadableCopyright</key>
  25          <string>{{.Info.Copyright}}</string>
  26          {{if .Info.FileAssociations}}
  27          <key>CFBundleDocumentTypes</key>
  28          <array>
  29            {{range .Info.FileAssociations}}
  30            <dict>
  31              <key>CFBundleTypeExtensions</key>
  32              <array>
  33                <string>{{.Ext}}</string>
  34              </array>
  35              <key>CFBundleTypeName</key>
  36              <string>{{.Name}}</string>
  37              <key>CFBundleTypeRole</key>
  38              <string>{{.Role}}</string>
  39              <key>CFBundleTypeIconFile</key>
  40              <string>{{.IconName}}</string>
  41            </dict>
  42            {{end}}
  43          </array>
  44          {{end}}
  45          {{if .Info.Protocols}}
  46          <key>CFBundleURLTypes</key>
  47          <array>
  48            {{range .Info.Protocols}}
  49              <dict>
  50                  <key>CFBundleURLName</key>
  51                  <string>com.getalby.{{.Scheme}}</string>
  52                  <key>CFBundleURLSchemes</key>
  53                  <array>
  54                      <string>{{.Scheme}}</string>
  55                  </array>
  56                  <key>CFBundleTypeRole</key>
  57                  <string>{{.Role}}</string>
  58              </dict>
  59            {{end}}
  60          </array>
  61          {{end}}
  62      </dict>
  63  </plist>
  64