Do not remove suffixes from appName, should close #289

Thanks @TheAssassin
This commit is contained in:
probonopd
2018-05-09 20:07:44 +02:00
committed by GitHub
parent e03847c81d
commit c17e3f0e8a
+1 -1
View File
@@ -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) {