diff --git a/src/openscad.cc b/src/openscad.cc index 3eba976d36..49c5f8cb2e 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -656,6 +656,8 @@ int main(int argc, char **argv) int rc = 0; StackCheck::inst(); +printf("ARG0: %s\n", argv[0]); + #ifdef OPENSCAD_QTGUI { // Need a dummy app instance to get the application path but it needs to be destroyed before the GUI is launched. QCoreApplication app(argc, argv); diff --git a/src/platform/PlatformUtils.cc b/src/platform/PlatformUtils.cc index 33b8d2be57..104570a942 100644 --- a/src/platform/PlatformUtils.cc +++ b/src/platform/PlatformUtils.cc @@ -85,6 +85,7 @@ static std::string lookupResourcesPath() void PlatformUtils::registerApplicationPath(const std::string& apppath) { applicationpath = apppath; + std::cout << "FOO: " << applicationpath << std::endl; resourcespath = lookupResourcesPath(); path_initialized = true; }