Pinboard Search Workflow in Share your Workflows Posted November 7, 2014 · Edited November 7, 2014 by jianzong ok I got a solution that work for me. I followed fform’s instruction but still fail to set my auth token. then I look into search.js ( right click in alfred app's pinboard workflow and choose "show in finder") and found the following lines: async.auto({ configFile: function (next) { var filename = path.join(process.env.HOME, "/Library/Application Support/Alfred 2/Workflow Data/eknkc.pinboard/config.json"); mkdirp(path.dirname(filename), function (err) { if (err) return next(err); next(null, filename); }); }, cacheFile: function(next) { var filename = path.join(process.env.HOME, "/Library/Application Support/Alfred 2/Workflow Data/eknkc.pinboard/bookmarks.json"); mkdirp(path.dirname(filename), function (err) { if (err) return next(err); next(null, filename); }); Notice the red text above are two directory set for bookmarks.json and config.json. It seems that Alfred has changed the default directory of workflows. Mine looks like this ( yours might be different ): /Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.xxxxx-xx-4C09-9ED6-414xxxx8B59/config.json JUST CREATE A config.json ( as according to fform’s suggestion ) and replace the two directory with yours. That should work.
Pinboard Search Workflow
in Share your Workflows
Posted · Edited by jianzong
ok I got a solution that work for me. I followed fform’s instruction but still fail to set my auth token.
then I look into search.js ( right click in alfred app's pinboard workflow and choose "show in finder") and found the following lines:
Notice the red text above are two directory set for bookmarks.json and config.json.
It seems that Alfred has changed the default directory of workflows. Mine looks like this ( yours might be different ):
JUST CREATE A config.json ( as according to fform’s suggestion ) and replace the two directory with yours.
That should work.