Commit 6eea8fd8 authored by Robert Lancaster's avatar Robert Lancaster Committed by Jasem Mutlaq

Add QHY Firmware path for OSX

parent 890b2ffa
......@@ -90,6 +90,9 @@ bool ServerManager::start()
QString gphoto_camlibs=QCoreApplication::applicationDirPath() + "/../PlugIns/libgphoto2";
if(QFileInfo(gphoto_camlibs).exists()&&Options::indiDriversAreInternal())
env.insert("CAMLIBS", QDir(gphoto_camlibs).absolutePath());
QString qhyFirmwarePath=QCoreApplication::applicationDirPath() + "/../PlugIns/qhy";
if(QFileInfo(qhyFirmwarePath).exists()&&Options::indiDriversAreInternal())
env.insert("QHY_FIRMWARE_DIR", QDir(qhyFirmwarePath).absolutePath());
serverProcess->setProcessEnvironment(env);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment