forked from Mirrors/OmniNX
oc: reworked patch extraction
Now does it on boot using UltraHand instead of seperate Homebrew app
This commit is contained in:
parent
31ee4d5475
commit
8bc458c577
3 changed files with 7 additions and 2 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in a new issue