Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose patcher internals #58

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Expose patcher internals #58

merged 2 commits into from
Oct 2, 2024

Conversation

adryd325
Copy link
Member

@adryd325 adryd325 commented Oct 1, 2024

Exposes patcher internals to the moonlight global

This can be useful for extensions that take advantage of lazy loading chunks, and can be used to sideload other client mods

This is a request for comments and feedback before I merge

core/patcher: add moduleLoad callback
core/util/event: refactor with types, thanks @NotNite
web-preload: add patcherInternals to window.moonlight
Copy link
Member

@NotNite NotNite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge into develop, not main, otherwise LGTM

@adryd325 adryd325 changed the base branch from main to develop October 1, 2024 20:42
@adryd325 adryd325 self-assigned this Oct 1, 2024
@adryd325 adryd325 merged commit a8c4767 into develop Oct 2, 2024
2 checks passed
@adryd325 adryd325 deleted the adryd/expose-internals branch October 2, 2024 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants