Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
schiele committed Oct 24, 2024
1 parent d8cdc56 commit dc1f929
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/openscad.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/platform/PlatformUtils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dc1f929

Please sign in to comment.