diff --git a/Terminal Notifier/AppDelegate.m b/Terminal Notifier/AppDelegate.m index 5f7f469..4428492 100644 --- a/Terminal Notifier/AppDelegate.m +++ b/Terminal Notifier/AppDelegate.m @@ -219,7 +219,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification; if (defaults[@"open"]) { NSURL *url = [NSURL URLWithString:defaults[@"open"]]; - if (url && url.scheme && url.host) { + if ((url && url.scheme && url.host) || [url isFileURL]) { options[@"open"] = defaults[@"open"]; }else{ NSLog(@"'%@' is not a valid URI.", defaults[@"open"]);