summaryrefslogtreecommitdiffstats
path: root/src/ingen/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ingen/main.cpp')
-rw-r--r--src/ingen/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp
index 2f729ab9..8d155c5c 100644
--- a/src/ingen/main.cpp
+++ b/src/ingen/main.cpp
@@ -28,6 +28,7 @@
#include "raul/Path.hpp"
#include "raul/SharedPtr.hpp"
#include "redlandmm/World.hpp"
+#include "shared/runtime_paths.hpp"
#include "module/global.hpp"
#include "module/Module.hpp"
#include "module/World.hpp"
@@ -86,6 +87,9 @@ main(int argc, char** argv)
return 1;
}
+ /* Set bundle path from executable location so resources/modules can be found */
+ Shared::set_bundle_path_from_code((void*)&main);
+
SharedPtr<Glib::Module> engine_module;
SharedPtr<Glib::Module> engine_http_module;
SharedPtr<Glib::Module> engine_osc_module;