All checks were successful
Build NRO / build (push) Successful in 1m48s
Replace the console UI with a Borealis-based flow, bundle ROMFS assets and borealis as a submodule, and apply small upstream patches at build time. Self-delete runs after romfsExit on quit so the NRO can be removed like the old console build.
26 lines
585 B
C++
26 lines
585 B
C++
#include <borealis.hpp>
|
|
|
|
#include "extractor.hpp"
|
|
#include "patch_activity.hpp"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
(void)argc;
|
|
(void)argv;
|
|
|
|
brls::Logger::setLogLevel(brls::LogLevel::WARNING);
|
|
|
|
if (!brls::Application::init()) {
|
|
brls::Logger::error("Borealis init failed");
|
|
return 1;
|
|
}
|
|
|
|
brls::Application::createWindow("PatchExtractor");
|
|
brls::Application::setGlobalQuit(true);
|
|
brls::Application::pushActivity(new PatchActivity());
|
|
|
|
while (brls::Application::mainLoop()) {}
|
|
|
|
PatchExtractor::tryDeleteSelfOnExit();
|
|
return 0;
|
|
}
|