mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
fix(build): right, we can build without a tui
This commit is contained in:
2 files changed
+8
-7
No files matched your search
+7
-6
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user