Jump to content

jianzong

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by jianzong

  1. 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.
×
×
  • Create New...