From aae8b86da10e99dcaa53c0640e4f97cac5f498f3 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 8 Sep 2014 15:13:32 +0000 Subject: [PATCH] OS X: very minor changes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91360 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/Pcsxr.xcodeproj/project.pbxproj | 2 +- macosx/updateInfoPlist/main.m | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/macosx/Pcsxr.xcodeproj/project.pbxproj b/macosx/Pcsxr.xcodeproj/project.pbxproj index 398456c3..9609eca0 100644 --- a/macosx/Pcsxr.xcodeproj/project.pbxproj +++ b/macosx/Pcsxr.xcodeproj/project.pbxproj @@ -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"; diff --git a/macosx/updateInfoPlist/main.m b/macosx/updateInfoPlist/main.m index 03de0410..3bd4f82f 100644 --- a/macosx/updateInfoPlist/main.m +++ b/macosx/updateInfoPlist/main.m @@ -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];