Skip to content

Commit

Permalink
Do not remove suffixes from appName, should close #289
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd committed May 9, 2018
1 parent e03847c commit c17e3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/linuxdeployqt/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c17e3f0

Please sign in to comment.