From a2d841ca7d55cdca9336bcd6613cb66398a371f2 Mon Sep 17 00:00:00 2001 From: dawei Date: Thu, 5 May 2016 18:31:04 +0800 Subject: [PATCH] capture screen of mac without selection --- lib/capture_exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capture_exec.js b/lib/capture_exec.js index d1adb75..94c20f2 100644 --- a/lib/capture_exec.js +++ b/lib/capture_exec.js @@ -13,7 +13,7 @@ function captureCommand (path) { case 'freebsd': return 'scrot -s ' + path case 'darwin': - return 'screencapture -i ' + path + return 'screencapture -S -x ' + path case 'linux': return 'import ' + path default: