Move the tweak prevention into a helper function and rename the module hooks w/ compatibility code #26

Merged
Oliver merged 4 commits from feature/change-hook-name into main 2025-12-20 01:39:52 +00:00
Showing only changes of commit 9ffa1cee06 - Show all commits

View file

@ -1,9 +1,9 @@
/* /*
This hook is used to broadcast the final status of all tweaks within the module, This hook is used to broadcast the final status of all tweaks within the module,
allowing them to either confirm their registration didn't happen or to do allowing other modules to either confirm their registration didn't happen or to
something once all of the module setup has been finalized. Tweak statuses cannot do something once all of the module setup has been finalized. Tweak statuses
be blocked or changed from this hook, to prevent a tweak from being registered cannot be blocked or changed from this hook, to prevent a tweak from being
you should use the "oft.preRegisterTweak" hook. registered you should use the "oft.preRegisterTweak" hook.
Call Signature: (settings: Record<string, string>) => void Call Signature: (settings: Record<string, string>) => void
*/ */