fix(build): right, we can build without a tui

This commit is contained in:
CLARATION committed 2026-07-06 04:29:53 -07:00
1 parent 7c4ab9b6d2
commit b55e779c78
2 files changed
+8 -7

No files matched your search

+7 -6
View File
@@ -357,15 +357,16 @@ int main(int argc, char* argv[], char* envp[]) {
wxTheApp->OnExit();
wxEntryCleanup();
return 0;
} else if (palerain_flags & palerain_option_tui) {
}
#endif
#ifdef WITH_TUI
if (palerain_flags & palerain_option_tui) {
ui_run();
return 0;
} else {
shared_t state{};
return exploit(&state);
}
#else
#endif
shared_t state{};
return exploit(&state);
#endif
}