code: function getAppsDataDir(){
  	switch(process.platform){
  		case 'win32': return process.env.LOCALAPPDATA;
  		case 'linux': return process.env.HOME + '/.config';
  		case 'darwin': return process.env.HOME + '/Library/Application Support';
  		default: throw Error("unknown platform "+process.platform);
  	}
  }
docs: make browserify skip it