diff --git a/variants/oc/switch/.PatchExtractor.nro.star b/variants/oc/switch/.PatchExtractor.nro.star deleted file mode 100644 index e69de29..0000000 diff --git a/variants/oc/switch/.packages/boot_package.ini b/variants/oc/switch/.packages/boot_package.ini index b4bba92..e065b33 100644 --- a/variants/oc/switch/.packages/boot_package.ini +++ b/variants/oc/switch/.packages/boot_package.ini @@ -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 \ No newline at end of file +set-json-val '/config/ultrahand/notifications/patchreminder.notify' duration 10000 +delete 'sdmc:/switch/.packages/boot_package.ini' diff --git a/variants/oc/switch/PatchExtractor.nro b/variants/oc/switch/PatchExtractor.nro deleted file mode 100644 index 5597ce8..0000000 Binary files a/variants/oc/switch/PatchExtractor.nro and /dev/null differ