From 7d15c25b3aee38a84987513daf79055bd511d9d0 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Wed, 5 Sep 2012 20:47:21 -0400 Subject: Hax to make it boot --- gui/action.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gui/action.cpp') diff --git a/gui/action.cpp b/gui/action.cpp index 6ca607b34..ed39d60e9 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -25,7 +25,7 @@ extern "C" { #include "../tw_reboot.h" #include "../minuitwrp/minui.h" #include "../recovery_ui.h" -#include "../extra-functions.h" +#include "gui-functions.h" #include "../variables.h" int install_zip_package(const char* zip_path_filename); @@ -1007,10 +1007,10 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */) DataManager::SetValue(TW_IS_ENCRYPTED, 0); DataManager::ReadSettingsFile(); - - if (check_for_script_file()) { +LOGE("TODO: Implement ORS support\n"); + if (0/*check_for_script_file()*/) { ui_print("Processing OpenRecoveryScript file...\n"); - if (run_script_file() == 0) { + if (/*run_script_file() ==*/ 0) { usleep(2000000); // Sleep for 2 seconds before rebooting tw_reboot(rb_system); load_theme = 0; -- cgit v1.2.3