try to fix path to osx scripts

This commit is contained in:
Seth Alves 2016-03-30 15:04:29 -07:00
parent 065c238dd0
commit e8f26b675a

View file

@ -59,7 +59,7 @@ QUrl defaultScriptsLocation() {
#ifdef Q_OS_WIN
return QUrl(("file:///" + QCoreApplication::applicationDirPath()).toLower());
#elif defined(Q_OS_OSX)
return QUrl(("file://" + QCoreApplication::applicationDirPath() + "/../..").toLower());
return QUrl(("file://" + QCoreApplication::applicationDirPath() + "/../Resources").toLower());
#else
// return "http://s3.amazonaws.com/hifi-public";
return QUrl("file://" + QCoreApplication::applicationDirPath());