Permalink
Browse files

Adds OpenEmuHelperApp-Info.plist and embeds it into OpenEmuHelperApp.

This should be useful for issue #375, setting NSSupportsAutomaticGraphicsSwitching for OpenEmuHelperApp.

Note: Xcode won’t automatically relink OpenEmuHelperApp in case its Info.plist file has changed, so make sure to remove OpenEmuHelperApp’s executable file to force plist embedding.
  • Loading branch information...
1 parent 52f48d5 commit 0d9f48ba50ba1eb82fa51551ce24b63a36798965 Bavarious committed Mar 15, 2013
Showing with 38 additions and 0 deletions.
  1. +20 −0 OpenEmu/OpenEmu.xcodeproj/project.pbxproj
  2. +18 −0 OpenEmu/OpenEmuHelperApp-Info.plist
@@ -1053,6 +1053,7 @@
144D61481672D6BF0000268B /* OETableTextFieldCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OETableTextFieldCell.m; sourceTree = "<group>"; };
1486195E166076A400BDB800 /* NSDate+OESortAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSDate+OESortAdditions.h"; sourceTree = "<group>"; };
1486195F166076A400BDB800 /* NSDate+OESortAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSDate+OESortAdditions.m"; sourceTree = "<group>"; };
+ 14B3038916F31B3A00865A5E /* OpenEmuHelperApp-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OpenEmuHelperApp-Info.plist"; sourceTree = "<group>"; };
14CA66E0168E910C003E28A7 /* OEGameIntegralScalingDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OEGameIntegralScalingDelegate.h; sourceTree = "<group>"; };
14E4A7F81616EF8B00082311 /* NSWindow+OEFullScreenAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSWindow+OEFullScreenAdditions.h"; sourceTree = "<group>"; };
14E4A7F91616EF8B00082311 /* NSWindow+OEFullScreenAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSWindow+OEFullScreenAdditions.m"; sourceTree = "<group>"; };
@@ -2318,6 +2319,7 @@
838E2A221600A05C00CF7198 /* Theme.plist */,
82DD29DA12369F1100B58A8F /* KeyboardUsages.plist */,
82444BA20F51256C007C171B /* OpenEmuBase-Info.plist */,
+ 14B3038916F31B3A00865A5E /* OpenEmuHelperApp-Info.plist */,
1BEF2CFF116854650090F72B /* OpenEmuDebugHelperAppApp-Info.plist */,
3887A80D1024D377000FC4CF /* OESaveStateQLPlugin-Info.plist */,
825CC280148C13750063A9B5 /* OpenEmu-Info.plist */,
@@ -5474,8 +5476,17 @@
"\"$(SRCROOT)\"",
);
GCC_PREFIX_HEADER = OpenEmu_Prefix.pch;
+ GENERATE_PKGINFO_FILE = NO;
+ INFOPLIST_FILE = "OpenEmuHelperApp-Info.plist";
+ INFOPLIST_PREPROCESS = NO;
INSTALL_PATH = /usr/local/bin;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
+ OTHER_LDFLAGS = (
+ "-sectcreate",
+ __TEXT,
+ __info_plist,
+ "$(INFOPLIST_FILE)",
+ );
PRODUCT_NAME = OpenEmuHelperApp;
VALID_ARCHS = x86_64;
};
@@ -5491,8 +5502,17 @@
"\"$(SRCROOT)\"",
);
GCC_PREFIX_HEADER = OpenEmu_Prefix.pch;
+ GENERATE_PKGINFO_FILE = NO;
+ INFOPLIST_FILE = "OpenEmuHelperApp-Info.plist";
+ INFOPLIST_PREPROCESS = NO;
INSTALL_PATH = /usr/local/bin;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
+ OTHER_LDFLAGS = (
+ "-sectcreate",
+ __TEXT,
+ __info_plist,
+ "$(INFOPLIST_FILE)",
+ );
PRODUCT_NAME = OpenEmuHelperApp;
VALID_ARCHS = x86_64;
};
@@ -0,0 +1,18 @@
+<?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>CFBundleIdentifier</key>
+ <string>org.openemu.OpenEmu.OpenEmuHelperApp</string>
+ <key>CFBundleName</key>
+ <string>OpenEmuHelperApp</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleVersion</key>
+ <string>1.0.0b9</string>
+</dict>
+</plist>

0 comments on commit 0d9f48b

Please sign in to comment.