diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index a38f8f7..53b1ed1 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -960,6 +960,7 @@ BOOST_PYTHON_MODULE(mobase) .def("downloadsPath", bpy::pure_virtual(&IOrganizer::downloadsPath)) .def("overwritePath", bpy::pure_virtual(&IOrganizer::overwritePath)) .def("basePath", bpy::pure_virtual(&IOrganizer::basePath)) + .def("modsPath", bpy::pure_virtual(&IOrganizer::modsPath)) .def("appVersion", bpy::pure_virtual(&IOrganizer::appVersion)) .def("getMod", bpy::pure_virtual(&IOrganizer::getMod), bpy::return_value_policy()) .def("createMod", bpy::pure_virtual(&IOrganizer::createMod), bpy::return_value_policy()) diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index 247bc5d..885d0c9 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -228,6 +228,10 @@ struct IOrganizerWrapper : MOBase::IOrganizer, { return this->get_override("basePath")(); } + virtual QString modsPath() const override + { + return this->get_override("modsPath")(); + } virtual MOBase::VersionInfo appVersion() const override { return this->get_override("appVersion")();