← 输入框|github.com|刷新
Skip to content

Reintroduce a way of sorting detours against configless detours #320

Open

Description

@isolno

Before reorg it was possible to sort your detours against any unknown detour by using after/before = ["*"] eg: new HookConfig { After = ["*"] }.
Post reorg sorting against any id via "*" was removed, and configless detours were made to always go before/after those with config.
Use cases for sorting that i have used:

  • Hook, applied last: fully wrap the stack, going first before all other hooks, and then last after everything finishes.
  • Hook, applied first: skip orig call without skipping any other Hooks.
  • ILHook, applied last: allow another's more fragile ilhook to go first to prevent theirs from failing.
  • ILHook, applied first: modify before another ilhook does major changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions