summaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-15 09:33:35 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-15 09:34:51 +0100
commitfd27d5f1e4176926d613005f30feb209375d97ea (patch)
treea18b18718b77ca9248f56936a3cef0112c24ce51 /public
parent0db25895168df6ebb9bd8781e3ffd83d3323b398 (diff)
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 <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'public')
-rw-r--r--public/tools/make_app/Steps.h11
-rw-r--r--public/tools/open/src/CommandLine.cc7
2 files changed, 12 insertions, 6 deletions
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 <Common.h>
#include <Framework.h>
-#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;
}
}