git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed more bugs having to do with the updating of the prefs file to 1.2
[MenuTunes.git]
/
MainController.m
diff --git
a/MainController.m
b/MainController.m
index
2ac5ac6
..
afc0db2
100755
(executable)
--- a/
MainController.m
+++ b/
MainController.m
@@
-55,9
+55,10
@@
static MainController *sharedController;
SetITDebugMode(YES);
}
SetITDebugMode(YES);
}
- if (
![df stringForKey:@"appVersion"]
) {
+ if (
([df integerForKey:@"appVersion"] < 1200) && ([df integerForKey:@"SongsInAdvance"] > 0)
) {
[df removePersistentDomainForName:@"com.ithinksw.menutunes"];
[df removePersistentDomainForName:@"com.ithinksw.menutunes"];
- [df setObject:@"1.2" forKey:@"appVersion"];
+ [df synchronize];
+ [[PreferencesController sharedPrefs] registerDefaults];
[[StatusWindowController sharedController] showPreferencesUpdateWindow];
}
[[StatusWindowController sharedController] showPreferencesUpdateWindow];
}