I try to use AppImage builds, but seems like there are some issues with glass catalog path.
Actually, according ../src/gui/MainWindow.cpp, Astree use next path for sGlassPath:
std::string MainWindow::get_glass_path() const
{
...
#ifdef __unix__ //linux
string sAppPath = QCoreApplication::applicationDirPath().toStdString();
string sGlassPath = sAppPath + "/../share/astree/glass/"; //not very clean but should work
return sGlassPath;
#endif
return "invalid glass path";
}
Inside AppImage (if extract it as $ ./Astree*.AppImage --appimage-extract) there is /glass/ catalog, but its path looks next:
So, if I run AppImage build Astree recognize only built-in materials (Air; Vacuum; Water).
As result, on opening Newton_BK7_diagonals.astree sample BK7 could not be loaded from ../glass/common_glass.agf: "Glass BK7 doesn't exist in catalog!"
