OS X: very minor changes.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91360 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
SND\MaddTheSane_cp 2014-09-08 15:13:32 +00:00
parent 1ca710ff8f
commit aae8b86da1
2 changed files with 5 additions and 1 deletions

View File

@ -3821,7 +3821,7 @@
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "PCSX-R Developer";
CODE_SIGN_IDENTITY = "PCSXR Developer";
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";

View File

@ -40,6 +40,10 @@ int main(int argc, const char * argv[])
NSLog(@"Version is invalid!");
return EXIT_FAILURE;
}
if ([outString hasSuffix:@"m"]) {
outString = [outString stringByReplacingOccurrencesOfString:@"m" withString:@""];
}
plistDict[@"CFBundleVersion"] = outString;
[plistDict writeToFile:[NSString stringWithFormat:@"%@vers.plist", plistLocation] atomically:NO];