-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bigger changes #37
base: master
Are you sure you want to change the base?
Bigger changes #37
Conversation
The -mmacosx-version-min option will set the MACOSX_DEPLOYMENT_TARGET, as well as properly sets the linker settings.
Store the cases and saves in a static variable. Add support for having cases in the user's directory. Move the storage of the data to within the app's contents.
Currently, we just cast down to the 32-bit integer, as I don't see this project needing 64-bit integers. The only exception to this is the SignatureIsValid function.
Instead, rely on the info.plist file. Add a special macro for help with autorelease pools.
…ring and CFBundleVersion to the version passed to it. Pass GetPropertyListXMLForVersionStringOSX the application's info.plist file. Actually have the project link.
Quiet a warning about an unused function.
(hopefully) Add case opening support for OS X.
f5acfd8
to
28ba639
Compare
Removing unneeded spaces.
*pVersionStringLength = 0; | ||
|
||
NSFileManager *defaultManager = [NSFileManager defaultManager]; | ||
NSString *pErrorDesc = nil; | ||
//TODO: Save the NSString as, say, a static pointer. | ||
NSString *pProperyListPath = [defaultManager stringWithFileSystemRepresentation:pPropertyListFilePath.c_str() length: pPropertyListFilePath.size()]; | ||
NSString *pProperyListPath = [defaultManager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not your mistake, but while you're here, might as well fix my typo of "propery" (should be "property").
Hey, sorry for taking so long to get to this - I was super busy when this first went up such that I couldn't have a look at it, and then it kind of fell off my radar. This does look pretty good - I just have a few questions and comments based on my look through it:
That's about all that I can think of. Thanks so much for doing all this. :) It's really invaluable to get help from someone who knows OS X so much better than I do (which is to say, at all). |
1: Yes. Also, many modern OS X games have their contents within the app bundle. |
Fix a spelling mistake.
This all sounds good. Wasn't aware that modifying an .app's contents was considered bad practice, though after thinking about that I can see why. If there is a specific shared folder where cases could go, I'm all for that. I'd say this is pretty much ready to be merged once that's done. :) |
Let's begin working on having a better OS X version…