|
@ -62,7 +62,7 @@ int main(int argc, char **argv) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (argc < 2) { |
|
|
if (argc < 2 || (firstArgument.startsWith("-"))) { |
|
|
qInfo() << ""; |
|
|
qInfo() << ""; |
|
|
qInfo() << "Usage: linuxdeployqt <app-binary|desktop file> [options]"; |
|
|
qInfo() << "Usage: linuxdeployqt <app-binary|desktop file> [options]"; |
|
|
qInfo() << ""; |
|
|
qInfo() << ""; |
|
@ -365,12 +365,10 @@ int main(int argc, char **argv) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Check arguments
|
|
|
// Check arguments
|
|
|
for (int i = 1; i < argc; ++i) { |
|
|
for (int i = 2; i < argc; ++i) { |
|
|
QByteArray argument = QByteArray(argv[i]); |
|
|
QByteArray argument = QByteArray(argv[i]); |
|
|
|
|
|
|
|
|
if (!argument.startsWith("-")) { |
|
|
if (argument == QByteArray("-no-plugins")) { |
|
|
continue; |
|
|
|
|
|
} else if (argument == QByteArray("-no-plugins")) { |
|
|
|
|
|
LogDebug() << "Argument found:" << argument; |
|
|
LogDebug() << "Argument found:" << argument; |
|
|
plugins = false; |
|
|
plugins = false; |
|
|
} else if (argument == QByteArray("-appimage")) { |
|
|
} else if (argument == QByteArray("-appimage")) { |
|
|