WSL/SLF GitLab Repository

Commit db92d5e0 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Adde one more search PATH for binaries to accomodate use cases such as Snowpack

This should only be the case for Mac (case sensitive filesystem and
sometimes inconsistent naming)
parent fc691f08
......@@ -117,7 +117,9 @@ QString getExtraPath(const QString& appname)
return extra_path;
#endif
#if defined Q_OS_MAC
const QString extra_path( ":" +home+"/bin:" + home+"/usr/bin:" + home+"/src/"+appname+"/bin:" + desktop+"/"+appname+"/bin:" + "/Applications/"+appname+".app/Contents/bin:" + own_path);
QString Appname( appname );
Appname[0] = Appname[0].toUpper();
const QString extra_path( ":" +home+"/bin:" + home+"/usr/bin:" + home+"/src/"+appname+"/bin:" + desktop+"/"+appname+"/bin:" + "/Applications/"+appname+".app/Contents/bin:" + "/Applications/"+Appname+".app/Contents/bin:" + "/Applications/"+appname+"/bin:" + "/Applications/"+Appname+"/bin:" + own_path);
return extra_path;
#endif
#if !defined Q_OS_WIN && !defined Q_OS_MAC
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment