github.com/256dpi/max-go@v0.7.0/cmd/maxgo/files.go (about)

     1  package main
     2  
     3  const pkgInfo = `iLaX????`
     4  
     5  func infoPlist(name string) string {
     6  	return `<?xml version="1.0" encoding="UTF-8"?>
     7  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     8  <plist version="1.0">
     9  <dict>
    10  	<key>CFBundleDevelopmentRegion</key>
    11  	<string>English</string>
    12  	<key>CFBundleExecutable</key>
    13  	<string>` + name + `</string>
    14  	<key>CFBundleIconFile</key>
    15  	<string></string>
    16  	<key>CFBundleIdentifier</key>
    17  	<string>com.maxgo.` + name + `</string>
    18  	<key>CFBundleInfoDictionaryVersion</key>
    19  	<string>1.0.0</string>
    20  	<key>CFBundlePackageType</key>
    21  	<string>iLaX</string>
    22  	<key>CFBundleSignature</key>
    23  	<string>max2</string>
    24  	<key>CFBundleVersion</key>
    25  	<string>1.0</string>
    26  
    27  	<key>CFBundleVersion</key>
    28  	<string>1.0.0</string>
    29  	<key>CFBundleShortVersionString</key>
    30  	<string>1.0.0</string>
    31  	<key>CFBundleLongVersionString</key>
    32  	<string>` + name + ` 1.0.0</string>
    33  
    34  	<key>CSResourcesFileMapped</key>
    35  	<true/>
    36  </dict>
    37  </plist>
    38  `
    39  }