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

cloneExpressions: 1.0.0 #165

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

maddymeows
Copy link
Contributor

built in a way to do cloning stickers eventually

@Cynosphere
Copy link
Member

Very minor nitpick

https://github.com/maddymeows/moonlight-exts/blob/c4afa48e14ebd564e907e5a030cd5ba1a9bafa0e/src/cloneExpressions/webpackModules/injectors.tsx#L23-L26

spacepack has a helper function for this, findFunctionByStrings

const uploadEmoji = spacepack.findFunctionByStrings(spacepack.findByCode('.dispatch({type:"EMOJI_UPLOAD_START",')[0].exports, '.dispatch({type:"EMOJI_UPLOAD_START",')

Not a complete blocker though

@maddymeows
Copy link
Contributor Author

will do that with next release

@Cynosphere Cynosphere merged commit 74594b9 into moonlight-mod:main Jan 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants