Skip to content

Conversation

FireMario211
Copy link
Member

This updates the old code from using (m_tempDirName / m_metadata.getBinaryName() to using this->getBinaryPath(), which essentially does the same thing.

-        dlopen((m_tempDirName / m_metadata.getBinaryName()).string().c_str(), RTLD_LAZY);
+        dlopen(this->getBinaryPath().string().c_str(), RTLD_LAZY);

This also adds a new launch flag titled binary-dir

Example usage:
--geode:binary-dir="Z:\home\fire\custom-binary-directory"
All mod binaries will be loaded from that directory, rather than geode/unzipped/[mod id]/[mod id].dylib as an example.

@altalk23 altalk23 merged commit 0b71c3c into geode-sdk:main Jul 6, 2025
6 checks passed
@FireMario211 FireMario211 deleted the patch-1 branch July 6, 2025 22:02
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