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

This commit is contained in:
Oliver 2025-12-18 22:32:46 -07:00
parent 3d4376aa81
commit 9c8b6f37f9
20 changed files with 102 additions and 102 deletions

View file

@ -0,0 +1,9 @@
/*
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
something once all of the module setup has been finalized. Tweak statuses cannot
be blocked or changed from this hook, to prevent a tweak from being registered
you should use the "oft.preRegisterTweak" hook.
Call Signature: (settings: Record<string, string>) => void
*/