mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-25 04:11:42 -04:00
Merge branch 'ui' of https://github.com/geode-sdk/geode into ui
This commit is contained in:
commit
dbf8c4af22
3 changed files with 6 additions and 1 deletions
loader
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <Geode/Bindings.hpp>
|
||||
#include "Traits.hpp"
|
||||
#include <Geode/loader/Loader.hpp>
|
||||
#include <vector>
|
||||
|
||||
namespace geode::modifier {
|
||||
|
|
|
@ -34,7 +34,7 @@ __attribute__((constructor)) void _entry() {
|
|||
if (error) return;
|
||||
}
|
||||
|
||||
auto dylib = dlopen("Geode.dylib", RTLD_NOW);
|
||||
auto dylib = dlopen("Geode.dylib", RTLD_LAZY);
|
||||
if (dylib) return;
|
||||
|
||||
return;
|
||||
|
|
|
@ -14,6 +14,7 @@ int geodeEntry(void* platformData);
|
|||
#if defined(GEODE_IS_IOS) || defined(GEODE_IS_MACOS)
|
||||
#include <mach-o/dyld.h>
|
||||
#include <unistd.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
std::length_error::~length_error() _NOEXCEPT {} // do not ask...
|
||||
|
||||
|
@ -22,6 +23,9 @@ std::length_error::~length_error() _NOEXCEPT {} // do not ask...
|
|||
// this is what old versions does to a silly girl
|
||||
|
||||
__attribute__((constructor)) void _entry() {
|
||||
auto dylib = dlopen("GeodeBootstrapper.dylib", RTLD_NOLOAD);
|
||||
dlclose(dylib);
|
||||
|
||||
std::array<char, PATH_MAX> gddir;
|
||||
|
||||
uint32_t out = PATH_MAX;
|
||||
|
|
Loading…
Add table
Reference in a new issue