diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/tools/make_app/Steps.h | 11 | ||||
| -rw-r--r-- | public/tools/open/src/CommandLine.cc | 7 |
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; } } |
