X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/ebafabc2f10815bd103c177299c50c1fd6b2d3a7..0a481b1f1afeda7c270362348b129fb6427117f9:/MTBlingController.m diff --git a/MTBlingController.m b/MTBlingController.m index 638a2f1..7541747 100755 --- a/MTBlingController.m +++ b/MTBlingController.m @@ -8,6 +8,7 @@ #import "MTBlingController.h" #import "MTeSerialNumber.h" +#import "MainController.h" #define APP_SUPPORT_PATH_STRING [@"~/Library/Application Support/MenuTunes/" stringByExpandingTildeInPath] #define LICENSE_PATH_STRING [APP_SUPPORT_PATH_STRING stringByAppendingString:@"/.license"] @@ -115,7 +116,7 @@ nil, nil, nil, NSLocalizedString(@"failed_msg", @"Failed Message")); } - + [[MainController sharedController] blingTime]; } - (int)checkKeyFile @@ -135,6 +136,13 @@ - (int)checkDone { + if ( ! (checkDone == 2475) ) { + if ( ! ([self checkKeyFile] == 7465) ) { + checkDone = 0; + } else { + checkDone = 2475; + } + } return checkDone; }