From 710e1f16f261e102daa4a7acd8a5d4c09737592f Mon Sep 17 00:00:00 2001 From: Andrei Yankovich Date: Sun, 9 Jun 2024 22:17:26 +0300 Subject: [PATCH 1/2] Update deploycore.cpp Update help message for deb option Signed-off-by: Andrei Yankovich --- src/Deploy/src/deploycore.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/Deploy/src/deploycore.cpp b/src/Deploy/src/deploycore.cpp index d4062b10..8352cbab 100644 --- a/src/Deploy/src/deploycore.cpp +++ b/src/Deploy/src/deploycore.cpp @@ -254,7 +254,18 @@ QuasarAppUtils::OptionsDataList DeployCore::avilableOptions() { {"deb", "-deb"}, "", "Create the deb package for deployment programm" " You can specify the path to your own debian template.", - "cqtdeployer -deb path/to/myCustom/DEBIAN." + " cqtdeployer -deb path/to/myCustom/templates" + " Where: the custom path should point to a folder with your packages templates, and template name should match with real package name." + " For Exmaple: cqtdeployer -deb path/to/tempalates -name appnameOrPackageName" + " tree path/to/tempalates" + " path/to/tempalates" + " └── appnameOrPackageName" + " └── DEBIAN" + " ├── control" + " ├── postinst" + " └── prerm" + " └── prerm" + }}); help.insert(group, {QuasarAppUtils::OptionData{ {"deploySystem"}, "", From c10ef8705814c910374b9ab754204838a81b67de Mon Sep 17 00:00:00 2001 From: EndrII Date: Sun, 9 Jun 2024 21:30:07 +0200 Subject: [PATCH 2/2] update doc message --- src/Deploy/src/deploycore.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/Deploy/src/deploycore.cpp b/src/Deploy/src/deploycore.cpp index 8352cbab..325be21a 100644 --- a/src/Deploy/src/deploycore.cpp +++ b/src/Deploy/src/deploycore.cpp @@ -256,15 +256,10 @@ QuasarAppUtils::OptionsDataList DeployCore::avilableOptions() { " You can specify the path to your own debian template.", " cqtdeployer -deb path/to/myCustom/templates" " Where: the custom path should point to a folder with your packages templates, and template name should match with real package name." - " For Exmaple: cqtdeployer -deb path/to/tempalates -name appnameOrPackageName" - " tree path/to/tempalates" - " path/to/tempalates" - " └── appnameOrPackageName" - " └── DEBIAN" - " ├── control" - " ├── postinst" - " └── prerm" - " └── prerm" + " For Exmaple: cqtdeployer -deb path/to/tempalates -name appnameOrPackageName " + " path/to/tempalates/appnameOrPackageName/DEBIAN" + " To get more information see documentation page " + "https://quasarapp.ddns.net:3031/docs/QuasarApp/CQtDeployer/latest/md_md_2en_2DEB.html" }}); help.insert(group, {QuasarAppUtils::OptionData{