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

+1 -1
View File
@@ -169,7 +169,7 @@ jobs:
- name: Build
run: |
make palera1n WITH_STATIC=1 WITH_GUI=1 BUILD_TYPE=Release JOBS=$(sysctl -n hw.ncpu)
make palera1n WITH_STATIC=1 WITH_GUI=1 WITH_TUI=1 BUILD_TYPE=Release JOBS=$(sysctl -n hw.ncpu)
strip -x build/palera1n.app/Contents/MacOS/palera1n
cd build && zip -r palera1n-macos-${{ matrix.arch }}.zip palera1n.app
+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
}