Skip to content

Commit c17e3f0

Browse files
authored
Do not remove suffixes from appName, should close probonopd#289
Thanks @TheAssassin
1 parent e03847c commit c17e3f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/linuxdeployqt/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ int main(int argc, char **argv)
193193
LogDebug() << newPath;
194194
setenv("PATH",newPath.toUtf8().constData(),1);
195195

196-
QString appName = QDir::cleanPath(QFileInfo(appBinaryPath).completeBaseName());
196+
QString appName = QDir::cleanPath(QFileInfo(appBinaryPath).fileName());
197197

198198
QString appDir = QDir::cleanPath(appBinaryPath + "/../");
199199
if (QDir().exists(appDir) == false) {

0 commit comments

Comments
 (0)