mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-31 05:29:49 +01:00
make tui a build option
This commit is contained in:
1 parent
e96cd19295
commit
1214aed3a7
9 files changed
+27
-15
No files matched your search
+2
-2
@@ -93,7 +93,7 @@ int build_checks(void) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef DEV_BUILD
|
||||
#ifdef TUI
|
||||
bool tui_started = false;
|
||||
#endif
|
||||
|
||||
@@ -114,7 +114,7 @@ int palera1n(int argc, char *argv[]) {
|
||||
if ((ret = optparse(argc, argv))) goto cleanup;
|
||||
if (!checkrain_option_enabled(host_flags, host_option_device_info))
|
||||
if (checkrain_option_enabled(host_flags, host_option_palerain_version)) goto normal_exit;
|
||||
#ifdef DEV_BUILD
|
||||
#ifdef TUI
|
||||
if (checkrain_option_enabled(host_flags, host_option_tui)) {
|
||||
ret = tui();
|
||||
if (ret) goto cleanup;
|
||||
|
||||
Reference in new issue
Block a user