mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-27 18:24:33 +00:00
fix customScript warning
This commit is contained in:
parent
c47513ecef
commit
0564b5b36c
@ -101,11 +101,6 @@ bool MetaFileManager::createRunScriptLinux(const QString &target) {
|
||||
|
||||
QString MetaFileManager::generateCustoScriptBlok(bool bat) const {
|
||||
|
||||
QuasarAppUtils::Params::log("The customScript option are depricated!."
|
||||
" This option will be removed into next release cqtdeployer."
|
||||
" Please use the runScript option",
|
||||
QuasarAppUtils::Warning);
|
||||
|
||||
QString res = "";
|
||||
|
||||
QString commentMarker = "# ";
|
||||
@ -115,6 +110,12 @@ QString MetaFileManager::generateCustoScriptBlok(bool bat) const {
|
||||
|
||||
auto cstSh = QuasarAppUtils::Params::getArg("customScript", "");
|
||||
if (cstSh.size()) {
|
||||
|
||||
QuasarAppUtils::Params::log("The customScript option are depricated!."
|
||||
" This option will be removed into next release cqtdeployer."
|
||||
" Please use the runScript option",
|
||||
QuasarAppUtils::Warning);
|
||||
|
||||
res = "\n" +
|
||||
commentMarker + "Begin Custom Script (generated by customScript flag)\n"
|
||||
"%0\n" +
|
||||
|
Loading…
x
Reference in New Issue
Block a user