[PATCH 3/6] loader: On Mac, embed Info.plist in (__TEXT, __info_plist) section.
Charles Davis
cdavis5x at gmail.com
Sun Jan 6 21:48:56 CST 2013
On Jan 6, 2013, at 6:54 PM, Ken Thomases wrote:
> diff --git a/loader/wine_info.plist.in b/loader/wine_info.plist.in
> new file mode 100644
> index 0000000..c332649
> --- /dev/null
> +++ b/loader/wine_info.plist.in
> @@ -0,0 +1,28 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> +<plist version="1.0">
> +<dict>
> + <key>CFBundleDevelopmentRegion</key>
> + <string>English</string>
> + <key>CFBundleExecutable</key>
> + <string>wine</string>
> + <key>CFBundleIdentifier</key>
> + <string>org.winehq.wine</string>
> + <key>CFBundleInfoDictionaryVersion</key>
> + <string>6.0</string>
> + <key>CFBundleName</key>
> + <string>Wine</string>
> + <key>CFBundlePackageType</key>
> + <string>APPL</string>
> + <key>CFBundleShortVersionString</key>
> + <string>@PACKAGE_VERSION@</string>
> + <key>CFBundleSignature</key>
> + <string>????</string>
> + <key>CFBundleVersion</key>
> + <string>@PACKAGE_VERSION@</string>
> + <key>LSMinimumSystemVersion</key>
> + <string>10.6</string>
With this, you won't be able to launch Wine from the Finder or with open(1) prior to 10.6.
Chip
> + <key>NSPrincipalClass</key>
> + <string>WineApplication</string>
> +</dict>
> +</plist>
>
More information about the wine-devel
mailing list