From fd27d5f1e4176926d613005f30feb209375d97ea Mon Sep 17 00:00:00 2001 From: Amlal Date: Sat, 15 Feb 2025 09:33:35 +0100 Subject: Impl and Patches: - Private tools directory. - SCI gets new API. - Window Manager library. - Steps version 2. - Patch 'open' command. - ATA.h fixes. Signed-off-by: Amlal --- public/tools/make_app/Steps.h | 11 ++++++++++- public/tools/open/src/CommandLine.cc | 7 ++----- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'public') diff --git a/public/tools/make_app/Steps.h b/public/tools/make_app/Steps.h index d7f78b81..b742724d 100644 --- a/public/tools/make_app/Steps.h +++ b/public/tools/make_app/Steps.h @@ -9,6 +9,15 @@ #include #include -#define kStepsExtension ".steps" +#define kStepsExtension ".stp" + +struct StepsCommonRecord final +{ + char setup_name[255]; + char setup_company[255]; + char setup_author[255]; + int32_t setup_version; + int32_t setup_pages; +}; #endif // ifndef APPS_STEPS_H \ No newline at end of file diff --git a/public/tools/open/src/CommandLine.cc b/public/tools/open/src/CommandLine.cc index 86282059..a2439e40 100644 --- a/public/tools/open/src/CommandLine.cc +++ b/public/tools/open/src/CommandLine.cc @@ -36,12 +36,9 @@ int main(int argc, char* argv[]) Char base_path[FILE_MAX_LEN] = OPEN_APP_BASE_PATH; MmCopyMemory(base_path + MmStrLen(OPEN_APP_BASE_PATH), argv[i + 1], MmStrLen(argv[i + 1])); - Bool ret = RtlSpawnProcess(base_path, 0, nullptr, nullptr, 0); + UIntPtr ret = RtlSpawnProcess(base_path, 0, nullptr, nullptr, 0); - if (ret > 0) - return EXIT_SUCCESS; - - break; + return ret; } } -- cgit v1.2.3