Skip to content
Snippets Groups Projects
Commit a188fb4c authored by akiraohgaki's avatar akiraohgaki
Browse files

Reorder $PATH value

parent e056cd69
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ int main(int argc, char *argv[])
// Init
QGuiApplication app(argc, argv); // This is backend program, but need GUI module
auto envPath = app.applicationDirPath() + ":" + QString::fromLocal8Bit(qgetenv("PATH").constData());
auto envPath = QString::fromLocal8Bit(qgetenv("PATH").constData()) + ":" + app.applicationDirPath();
qputenv("PATH", envPath.toUtf8().constData());
auto *configHandler = new ConfigHandler(&app);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment