summaryrefslogtreecommitdiff
path: root/macosx/updateInfoPlist
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-09-08 15:13:32 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-09-08 15:13:32 +0000
commitaae8b86da10e99dcaa53c0640e4f97cac5f498f3 (patch)
tree346923748887168325dbbe4594300a8ed69a48da /macosx/updateInfoPlist
parent1ca710ff8f4c5535d638ea31d3aae98a7791f485 (diff)
downloadpcsxr-aae8b86da10e99dcaa53c0640e4f97cac5f498f3.tar.gz
OS X: very minor changes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91360 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/updateInfoPlist')
-rw-r--r--macosx/updateInfoPlist/main.m4
1 files changed, 4 insertions, 0 deletions
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];