Skip to content

Instantly share code, notes, and snippets.

@TooTallNate
Forked from santiago/purple.js
Created August 11, 2011 20:36
Show Gist options
  • Save TooTallNate/1140692 to your computer and use it in GitHub Desktop.
Save TooTallNate/1140692 to your computer and use it in GitHub Desktop.
var FFI = require("node-ffi");
var CUSTOM_USER_DIRECTORY= "/Users/santiago/tmp";
var Purple = new FFI.Library("/Users/santiago/tmp/lib/libpurple", { "purple_util_set_user_dir": [ "void", [ "string" ] ] });
Purple.purple_util_set_user_dir(CUSTOM_USER_DIRECTORY);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment