mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-28 12:09:48 +01:00
build ncurses with more stuff
This commit is contained in:
1 parent
07169da20e
commit
bd7da74546
9 files changed
+179
-7
No files matched your search
@@ -81,6 +81,7 @@ int build_checks() {
|
||||
}
|
||||
|
||||
bool dfuhelper_only = false, pongo_exit = false, start_from_pongo = false, palerain_version = false;
|
||||
bool use_tui = false;
|
||||
|
||||
int palera1n(int argc, char *argv[]) {
|
||||
int ret = 0;
|
||||
@@ -90,6 +91,11 @@ int palera1n(int argc, char *argv[]) {
|
||||
if (palerain_version) goto normal_exit;
|
||||
if (start_from_pongo == true)
|
||||
goto pongo;
|
||||
if (use_tui) {
|
||||
ret = tui();
|
||||
if (ret) goto cleanup;
|
||||
else goto normal_exit;
|
||||
}
|
||||
LOG(LOG_INFO, "Waiting for devices");
|
||||
do_pongo_sleep = 1;
|
||||
pthread_t dfuhelper_thread;
|
||||
|
||||
Reference in new issue
Block a user