Fix symlink

This commit is contained in:
probonopd
2016-09-08 20:02:35 +02:00
committed by GitHub
parent 7cbad4869f
commit 71d29040e0
+2 -2
View File
@@ -67,7 +67,7 @@ int main(int argc, char **argv)
return 1;
}
QString appName = QDir::cleanPath(QFileInfo(appBinaryPath).baseName());
QString appName = QDir::cleanPath(QFileInfo(appBinaryPath).completeBaseName());
if (QDir().exists(appBinaryPath)) {
qDebug() << "app-binary:" << appBinaryPath;
@@ -92,7 +92,7 @@ int main(int argc, char **argv)
if(appRun.exists()){
appRun.remove();
}
QFile::link(appBinaryPath, "AppRun");
QFile::link(appName, appDir + "/AppRun");
bool plugins = true;
bool appimage = false;