Skip to content

Instantly share code, notes, and snippets.

@TooTallNate

TooTallNate/purple.js

Forked from santiago/purple.js
Created Aug 11, 2011
Embed
What would you like to do?
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