From 78b9c36c77ee5a665aaf8229cc689fe29aaf846f Mon Sep 17 00:00:00 2001 From: Amlal Date: Thu, 30 Jan 2025 00:59:58 +0100 Subject: TWEAK: make_app has received format and cli tweaks. Signed-off-by: Amlal --- public/tools/make_app/Framework.h | 6 +++--- public/tools/make_app/src/CommandLine.cc | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/public/tools/make_app/Framework.h b/public/tools/make_app/Framework.h index 48db2599..bf9059a7 100644 --- a/public/tools/make_app/Framework.h +++ b/public/tools/make_app/Framework.h @@ -8,9 +8,9 @@ #include -#define kExecDirectory "ML/Exec/" -#define kRsrcDirectory "ML/Resources/" -#define kRootDirectory "ML/" +#define kExecDirectory "bin/" +#define kRsrcDirectory "xml/" +#define kRootDirectory "/" #define kFKExtension ".fwrk" #define kAppExtension ".app" diff --git a/public/tools/make_app/src/CommandLine.cc b/public/tools/make_app/src/CommandLine.cc index f2f4f26d..10705598 100644 --- a/public/tools/make_app/src/CommandLine.cc +++ b/public/tools/make_app/src/CommandLine.cc @@ -22,24 +22,24 @@ int main(int argc, char* argv[]) std::cout << "make_app: Framework/Application Creation Tool.\n"; std::cout << "make_app: © Amlal EL Mahrouss, All rights reserved.\n"; - std::cout << "make_app: -app: Application directory.\n"; - std::cout << "make_app: -steps: Steps (Setup pages) directory.\n"; - std::cout << "make_app: -fwrk: Framework directory.\n"; + std::cout << "make_app: -a: Application format.\n"; + std::cout << "make_app: -s: Steps (Setup pages) format.\n"; + std::cout << "make_app: -f: Framework format.\n"; return EXIT_SUCCESS; } - if (strcmp(argv[i], "-app") == 0) + if (strcmp(argv[i], "-a") == 0) { ext = kAppExtension; continue; } - else if (strcmp(argv[i], "-steps") == 0) + else if (strcmp(argv[i], "-s") == 0) { ext = kStepsExtension; continue; } - else if (strcmp(argv[i], "-fwrk") == 0) + else if (strcmp(argv[i], "-f") == 0) { ext = kFKExtension; continue; -- cgit v1.2.3