oc: reworked patch extraction

Now does it on boot using UltraHand instead of seperate Homebrew app
This commit is contained in:
niklascfw 2026-06-03 21:04:02 +02:00
parent 31ee4d5475
commit 8bc458c577
No known key found for this signature in database
3 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,11 @@
[on-boot]
set-json-val '/config/ultrahand/notifications/patchreminder.notify' text 'Um FPSLocker Patches zu nutzen, "PatchExtractor" in Sphaira ausführen!'
try:
path_exists 'sdmc:/SaltySD/plugins/FPSLocker/patches.zip'
unzip 'sdmc:/SaltySD/plugins/FPSLocker/patches.zip' 'sdmc:/SaltySD/plugins/FPSLocker/'
delete 'sdmc:/SaltySD/plugins/FPSLocker/patches.zip'
set-json-val '/config/ultrahand/notifications/patchreminder.notify' text 'FPSLocker-Patches installiert.'
set-json-val '/config/ultrahand/notifications/patchreminder.notify' font_size 26
set-json-val '/config/ultrahand/notifications/patchreminder.notify' alignment left
set-json-val '/config/ultrahand/notifications/patchreminder.notify' split_type word
set-json-val '/config/ultrahand/notifications/patchreminder.notify' duration 10000
set-json-val '/config/ultrahand/notifications/patchreminder.notify' duration 10000
delete 'sdmc:/switch/.packages/boot_package.ini'