Skip to content

Commit

Permalink
Add relative search path for Python modules as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Jul 6, 2016
1 parent 5efb61f commit b9f01e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ int main(int argc, char *argv[])
path << "Resources";
fab::postInit({path.join("/").toStdString()});
#elif defined Q_OS_LINUX
auto dir = QCoreApplication::applicationDirPath();
std::vector<std::string> fab_paths =
{(QCoreApplication::applicationDirPath() + "/sb").toStdString()};
{(dir + "/sb").toStdString(),
(dir + "/../share/antimony/").toStdString()};
for (auto p : QStandardPaths::standardLocations(
QStandardPaths::AppDataLocation))
{
Expand Down

0 comments on commit b9f01e1

Please sign in to comment.