mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-14 18:39:35 +00:00
add out file flag
This commit is contained in:
parent
bb7accc035
commit
fbbe51409d
CQtDeployer
@ -75,7 +75,12 @@ bool Deploy::createRunScript() {
|
||||
|
||||
content = content.arg(QFileInfo(target).fileName());
|
||||
|
||||
QString fname = targetDir + QDir::separator() + "AppRun.sh";
|
||||
QString fname = targetDir + QDir::separator();
|
||||
if (QuasarAppUtils::isEndable("runScript")) {
|
||||
fname += QuasarAppUtils::getStrArg("runScript");
|
||||
} else {
|
||||
fname += "AppRun.sh";
|
||||
}
|
||||
|
||||
QFile F(fname);
|
||||
if (!F.open(QIODevice::WriteOnly)) {
|
||||
|
@ -30,6 +30,10 @@ void help() {
|
||||
qInfo() << " -ignore [list,params] : ignore filter for libs";
|
||||
qInfo() << " | for example -ignore libicudata.so.56,libicudata2.so.56";
|
||||
qInfo() << " clear : delete all old deploy data";
|
||||
qInfo() << " -runScript [params] : set new name of out file (AppRun.sh by default)";
|
||||
qInfo() << " | for example -runScript myApp.sh";
|
||||
|
||||
|
||||
qInfo() << "";
|
||||
qInfo() << "Example: CDQ -bin myApp -qmlDir ~/Qt/5.11.1/gcc_64/qml -qmake ~/Qt/5.11.1/gcc_64/bin/qmake clear";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user