From dc1f92965d2d20566067f820e670722cd876c5b1 Mon Sep 17 00:00:00 2001 From: Robert Schiele Date: Thu, 24 Oct 2024 22:11:53 +0200 Subject: [PATCH] x --- src/openscad.cc | 2 ++ src/platform/PlatformUtils.cc | 1 + 2 files changed, 3 insertions(+) diff --git a/src/openscad.cc b/src/openscad.cc index 3eba976d36e..49c5f8cb2e6 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 33b8d2be57e..104570a9427 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; }