diff options
Diffstat (limited to 'build/darwin')
-rw-r--r-- | build/darwin/Info.dev.plist | 68 | ||||
-rw-r--r-- | build/darwin/Info.plist | 63 |
2 files changed, 131 insertions, 0 deletions
diff --git a/build/darwin/Info.dev.plist b/build/darwin/Info.dev.plist new file mode 100644 index 0000000..04727c2 --- /dev/null +++ b/build/darwin/Info.dev.plist @@ -0,0 +1,68 @@ +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleName</key> + <string>{{.Info.ProductName}}</string> + <key>CFBundleExecutable</key> + <string>{{.Name}}</string> + <key>CFBundleIdentifier</key> + <string>com.wails.{{.Name}}</string> + <key>CFBundleVersion</key> + <string>{{.Info.ProductVersion}}</string> + <key>CFBundleGetInfoString</key> + <string>{{.Info.Comments}}</string> + <key>CFBundleShortVersionString</key> + <string>{{.Info.ProductVersion}}</string> + <key>CFBundleIconFile</key> + <string>iconfile</string> + <key>LSMinimumSystemVersion</key> + <string>10.13.0</string> + <key>NSHighResolutionCapable</key> + <string>true</string> + <key>NSHumanReadableCopyright</key> + <string>{{.Info.Copyright}}</string> + {{if .Info.FileAssociations}} + <key>CFBundleDocumentTypes</key> + <array> + {{range .Info.FileAssociations}} + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>{{.Ext}}</string> + </array> + <key>CFBundleTypeName</key> + <string>{{.Name}}</string> + <key>CFBundleTypeRole</key> + <string>{{.Role}}</string> + <key>CFBundleTypeIconFile</key> + <string>{{.IconName}}</string> + </dict> + {{end}} + </array> + {{end}} + {{if .Info.Protocols}} + <key>CFBundleURLTypes</key> + <array> + {{range .Info.Protocols}} + <dict> + <key>CFBundleURLName</key> + <string>com.wails.{{.Scheme}}</string> + <key>CFBundleURLSchemes</key> + <array> + <string>{{.Scheme}}</string> + </array> + <key>CFBundleTypeRole</key> + <string>{{.Role}}</string> + </dict> + {{end}} + </array> + {{end}} + <key>NSAppTransportSecurity</key> + <dict> + <key>NSAllowsLocalNetworking</key> + <true/> + </dict> + </dict> +</plist> diff --git a/build/darwin/Info.plist b/build/darwin/Info.plist new file mode 100644 index 0000000..19cc937 --- /dev/null +++ b/build/darwin/Info.plist @@ -0,0 +1,63 @@ +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleName</key> + <string>{{.Info.ProductName}}</string> + <key>CFBundleExecutable</key> + <string>{{.Name}}</string> + <key>CFBundleIdentifier</key> + <string>com.wails.{{.Name}}</string> + <key>CFBundleVersion</key> + <string>{{.Info.ProductVersion}}</string> + <key>CFBundleGetInfoString</key> + <string>{{.Info.Comments}}</string> + <key>CFBundleShortVersionString</key> + <string>{{.Info.ProductVersion}}</string> + <key>CFBundleIconFile</key> + <string>iconfile</string> + <key>LSMinimumSystemVersion</key> + <string>10.13.0</string> + <key>NSHighResolutionCapable</key> + <string>true</string> + <key>NSHumanReadableCopyright</key> + <string>{{.Info.Copyright}}</string> + {{if .Info.FileAssociations}} + <key>CFBundleDocumentTypes</key> + <array> + {{range .Info.FileAssociations}} + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>{{.Ext}}</string> + </array> + <key>CFBundleTypeName</key> + <string>{{.Name}}</string> + <key>CFBundleTypeRole</key> + <string>{{.Role}}</string> + <key>CFBundleTypeIconFile</key> + <string>{{.IconName}}</string> + </dict> + {{end}} + </array> + {{end}} + {{if .Info.Protocols}} + <key>CFBundleURLTypes</key> + <array> + {{range .Info.Protocols}} + <dict> + <key>CFBundleURLName</key> + <string>com.wails.{{.Scheme}}</string> + <key>CFBundleURLSchemes</key> + <array> + <string>{{.Scheme}}</string> + </array> + <key>CFBundleTypeRole</key> + <string>{{.Role}}</string> + </dict> + {{end}} + </array> + {{end}} + </dict> +</plist> |