Skip to content

Instantly share code, notes, and snippets.

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", [ "pointer" ] ] });
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