desktop_app.js
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);
	}
}
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);
	}
}
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 ) ; } }
make browserify skip it
make browserify skip it