Browse Source

Do not remove suffixes from appName, should close #289

Thanks @TheAssassin
master
probonopd 7 years ago
committed by GitHub
parent
commit
c17e3f0e8a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/linuxdeployqt/main.cpp

2
tools/linuxdeployqt/main.cpp

@ -193,7 +193,7 @@ int main(int argc, char **argv)
LogDebug() << newPath;
setenv("PATH",newPath.toUtf8().constData(),1);
QString appName = QDir::cleanPath(QFileInfo(appBinaryPath).completeBaseName());
QString appName = QDir::cleanPath(QFileInfo(appBinaryPath).fileName());
QString appDir = QDir::cleanPath(appBinaryPath + "/../");
if (QDir().exists(appDir) == false) {

Loading…
Cancel
Save