This repository has been archived on 2026-06-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PatchExtractor/source/main.cpp
niklascfw 2cf3db2097
All checks were successful
Build NRO / build (push) Successful in 1m48s
Add Borealis GUI for patch extraction on Switch.
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.
2026-05-28 22:22:44 +02:00

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;
}