From fb1d481a1d9420bffc830696de66b2874e64a67a Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sun, 18 Nov 2012 15:38:41 +0000 Subject: * Please note this revision will re-prompt for access to all KeyChain passwords * - Change the bundle identifier from com.google.code.sequel-pro to com.sequelpro.SequelPro - Change the code signing process to use a new identity and requirement, to add Developer ID support on 10.7+ but to also maintain functionality on 10.5+ - Add a preference migration routine to copy the old application defaults to the new bundle identifier's defaults - Re-order the default keys to alphabetical to more easily locate values --- Source/SPAppController.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/SPAppController.m') diff --git a/Source/SPAppController.m b/Source/SPAppController.m index c10b8370..da70ceb9 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -112,6 +112,9 @@ YY_BUFFER_STATE yy_scan_string (const char *); { // Register application defaults [[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"PreferenceDefaults" ofType:@"plist"]]]; + + // Upgrade prefs before any other parts of the app pick up on the values + SPApplyRevisionChanges(); } /** -- cgit v1.2.3