Add Borealis GUI for patch extraction on Switch.
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.
This commit is contained in:
2026-05-28 22:22:44 +02:00
parent 828edf6ad2
commit 2cf3db2097
19 changed files with 956 additions and 214 deletions

View File

@@ -7,7 +7,7 @@ Nintendo Switch Homebrew App für [OmniNX OC](https://git.niklascfw.de/OmniNX/Om
1. Sucht nach `sd:/SaltySD/plugins/FPSLocker/patches.zip`
2. Entpackt alle Patches in das gleiche Verzeichnis (überschreibt existierende Dateien)
3. Löscht `patches.zip` nach erfolgreichem Entpacken
4. Löscht sich selbst (`sd:/switch/PatchExtractor.nro`)
4. Löscht `sd:/switch/PatchExtractor.nro` beim Beenden (nach `romfsExit`, da eingebettetes ROMFS die Datei sonst offen hält)
## Nutzung
@@ -15,14 +15,17 @@ Die App ist bereits in OmniNX OC enthalten und kann direkt aus Sphaira (hbmenu)
## Selber bauen
Benötigt [devkitPro](https://devkitpro.org/) mit libnx, zlib und minizip.
Benötigt [devkitPro](https://devkitpro.org/) mit libnx, zlib, minizip und [borealis](https://github.com/natinusala/borealis) (als Git-Submodul).
```bash
git submodule update --init --recursive
export DEVKITPRO=/opt/devkitpro
export PATH=$DEVKITPRO/devkitA64/bin:$DEVKITPRO/tools/bin:$PATH
make
```
Die Oberfläche nutzt die Borealis UI-Bibliothek (Switch-Systemdesign).
## Lizenz
MIT