diff options
-rwxr-xr-x | client.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -39,7 +39,12 @@ var userid="0",password="-"; var HOMEDIR=process.env.HOME||process.env.HOMEPATH||process.env.HOMEDIR||process.cwd(); -var WATCHDIR=HOMEDIR+"/Desktop"; +var WATCHDIR; +if(process.platform=="darwin"){ + WATCHDIR=HOMEDIR+"/Desktop"; +} else { + WATCHDIR=HOMEDIR+"/screenshots"; +} var ignored=[]; var currentState=[]; |