mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
fix loader trying to load mods from 1.0.0-beta.5
This commit is contained in:
parent
7bd637370b
commit
1475c45afd
2 changed files with 4 additions and 2 deletions
|
@ -122,7 +122,9 @@ VersionInfo Loader::Impl::getVersion() {
|
|||
}
|
||||
|
||||
VersionInfo Loader::Impl::minModVersion() {
|
||||
return VersionInfo { 1, 0, 0, VersionTag(VersionTag::Beta, 5) };
|
||||
return VersionInfo {
|
||||
this->getVersion().getMajor(), 0, 0
|
||||
};
|
||||
}
|
||||
|
||||
VersionInfo Loader::Impl::maxModVersion() {
|
||||
|
|
|
@ -30,7 +30,7 @@ void updateGeode() {
|
|||
void* mainTrampolineAddr;
|
||||
|
||||
int WINAPI gdMainHook(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) {
|
||||
MessageBoxA(NULL, "Hello from gdMainHook!", "Hi", 0);
|
||||
// MessageBoxA(NULL, "Hello from gdMainHook!", "Hi", 0);
|
||||
|
||||
updateGeode();
|
||||
|
||||
|
|
Loading…
Reference in a new issue