Make text appear in GUI console, Zip install works.
Move TW zip install code to C++ so that it can use the ui->functions. Bring in mincrypt code to fix a crash during signature checking.
This commit is contained in:
+2
-3
@@ -54,7 +54,6 @@ extern "C" {
|
||||
#include "variables.h"
|
||||
|
||||
TWPartitionManager PartitionManager;
|
||||
char device_id[64];
|
||||
|
||||
struct selabel_handle *sehandle;
|
||||
|
||||
@@ -793,8 +792,8 @@ main(int argc, char **argv) {
|
||||
// set by init
|
||||
umask(0);
|
||||
|
||||
//Device* device = make_device();
|
||||
//ui = device->GetUI();
|
||||
Device* device = make_device();
|
||||
ui = device->GetUI();
|
||||
|
||||
//ui->Init();
|
||||
//ui->SetBackground(RecoveryUI::NONE);
|
||||
|
||||
Reference in New Issue
Block a user