diff options
author | Teddy Wing | 2018-10-27 00:49:47 +0200 |
---|---|---|
committer | Teddy Wing | 2018-10-27 00:49:47 +0200 |
commit | 6ceb56fac5dcabc02db6ebb373073593ddec9a33 (patch) | |
tree | 2bcef9534a563627535a2f5f153f8e51fe859c4d | |
parent | a65f955febfc4fde1328339483f59164b0bd67c2 (diff) | |
download | DomeKey-6ceb56fac5dcabc02db6ebb373073593ddec9a33.tar.bz2 |
LicenseHandler: Run trial initialiser when license validation fails
-rw-r--r-- | DomeKey/LicenseHandler.h | 1 | ||||
-rw-r--r-- | DomeKey/LicenseHandler.m | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/DomeKey/LicenseHandler.h b/DomeKey/LicenseHandler.h index 90d308e..7056d41 100644 --- a/DomeKey/LicenseHandler.h +++ b/DomeKey/LicenseHandler.h @@ -11,6 +11,7 @@ #import "AquaticPrime.h" #import "XDG.h" +#import "dome_key_map.h" #import "errors.h" @interface LicenseHandler : NSObject diff --git a/DomeKey/LicenseHandler.m b/DomeKey/LicenseHandler.m index ff63ed0..da6d29f 100644 --- a/DomeKey/LicenseHandler.m +++ b/DomeKey/LicenseHandler.m @@ -18,12 +18,11 @@ static NSString * const LICENSE_FILE_NAME = @"license.plist"; if (![self validateLicense]) { [self printInvalidLicenseMessage]; - // TODO: then do trial + do_trial(); } } else { - // run do_trial(); - printf("TODO: do trial\n"); + do_trial(); } } |