diff --git a/twrpinstall/adb_install.cpp b/twrpinstall/adb_install.cpp index 74c4d3ad..5486b7e3 100755 --- a/twrpinstall/adb_install.cpp +++ b/twrpinstall/adb_install.cpp @@ -43,6 +43,7 @@ #include "fuse_sideload.h" #include "twinstall/install.h" +#include "twinstall.h" #include "twinstall/wipe_data.h" #include "minadbd/types.h" #include "otautil/sysutil.h" @@ -116,7 +117,8 @@ static auto AdbInstallPackageHandler(int* result) { break; } } - *result = install_package(FUSE_SIDELOAD_HOST_PATHNAME, false, false, 0); + int dummy; + *result = TWinstall_zip(FUSE_SIDELOAD_HOST_PATHNAME, &dummy); break; }