aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DomeKey/LicenseHandler.m7
-rw-r--r--DomeKey/XDG.m1
2 files changed, 0 insertions, 8 deletions
diff --git a/DomeKey/LicenseHandler.m b/DomeKey/LicenseHandler.m
index 70a59ad..20416b8 100644
--- a/DomeKey/LicenseHandler.m
+++ b/DomeKey/LicenseHandler.m
@@ -28,8 +28,6 @@ static NSString * const LICENSE_FILE_NAME = @"license.plist";
+ (void)addLicense:(NSString *)filePath
{
- // printf("current directory: %s\n", [[[NSFileManager defaultManager] currentDirectoryPath] UTF8String]);
-
NSError *error = nil;
[self trashFileAtURL:[self licensePath]];
@@ -54,11 +52,6 @@ static NSString * const LICENSE_FILE_NAME = @"license.plist";
[self trashFileAtURL:[self licensePath]];
}
-
- // Copy license file into path
- // Validate license
- // If license doesn't validate, remove copied file
- // If license does validate, print a success message
}
+ (void)trashFileAtURL:(NSURL *)theURL
diff --git a/DomeKey/XDG.m b/DomeKey/XDG.m
index 5127739..d5b7e70 100644
--- a/DomeKey/XDG.m
+++ b/DomeKey/XDG.m
@@ -18,7 +18,6 @@ static NSString * const DOME_KEY_DIR = @"dome-key";
objectForKey:@"XDG_DATA_HOME"];
if (!xdg_data_home) {
- // xdg_data_home = @"~/.local/share";
xdg_data_home = [@"~/.local/share" stringByExpandingTildeInPath];
}