diff --git a/QuickLookR.qlgenerator.zip b/QuickLookR.qlgenerator.zip index b1a449a..f161463 100644 Binary files a/QuickLookR.qlgenerator.zip and b/QuickLookR.qlgenerator.zip differ diff --git a/QuickLookR/GeneratePreviewForURL.m b/QuickLookR/GeneratePreviewForURL.m index e13314d..29e7972 100644 --- a/QuickLookR/GeneratePreviewForURL.m +++ b/QuickLookR/GeneratePreviewForURL.m @@ -43,6 +43,8 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, cmd = [ cmd stringByAppendingString: contents ] ; cmd = [ cmd stringByAppendingString: @"')" ] ; + NSLog(@"Running: %@", cmd) ; + NSTask *task = [ [ NSTask alloc ] init] ; task.launchPath = @"/usr/local/bin/Rscript"; task.arguments = @[ @"-e", cmd ];