diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index ea8da0a..0dc8f85 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -14,7 +14,7 @@ env: WOLFSSL_VERSION: 5.6.3 OPENSSL_VERSION: 3.1.7 LIBCURL_VERSION: 7.79.1 - LIBTATSU_VERSION: 1.0.4 + LIBTATSU_VERSION: 1.0.5 jobs: @@ -298,7 +298,7 @@ jobs: - name: build libtatsu run: | wget -q -nc -P ${BUILD_SOURCE} \ - https://github.com/libimobiledevice/libtatsu/archive/${LIBTATSU_VERSION}.tar.gz + https://github.com/futurerestore/libtatsu/archive/${LIBTATSU_VERSION}.tar.gz tar xf ${BUILD_SOURCE}/${LIBTATSU_VERSION}.tar.gz -C ${BUILD_WORK} echo "${LIBTATSU_VERSION}" > ${BUILD_WORK}/libtatsu-${LIBTATSU_VERSION}/.tarball-version cd ${BUILD_WORK}/libtatsu-${LIBTATSU_VERSION} diff --git a/dep_root/.keep b/dep_root/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/dep_root/include/.keep b/dep_root/include/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/dep_root/lib/.keep b/dep_root/lib/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/fix_dep_root.sh b/fix_dep_root.sh new file mode 100755 index 0000000..2c21ebe --- /dev/null +++ b/fix_dep_root.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +script_name=$(realpath "$0") +script_base=$(dirname "$script_name") +for file in $(find ${script_base}/dep_root/lib/pkgconfig -name "*.pc"); do export pkg=$(realpath $(dirname $(realpath "${file}"))/../../); pkg=$(echo $pkg | sed 's/\//\\\//g'); sed -i "s/^prefix=.*/prefix=${pkg}/g" $file; done \ No newline at end of file diff --git a/tsschecker/main.c b/tsschecker/main.c index 18a9a6f..361d60b 100644 --- a/tsschecker/main.c +++ b/tsschecker/main.c @@ -288,6 +288,8 @@ int main(int argc, const char * argv[]) { break; case '0': // long option: "debug"; can be called as short option idevicerestore_debug = 1; + tss_set_print_tss_request(1); + tss_set_print_tss_response(1); tss_set_debug_level(3); break; case '1': // long option: "list-devices"; can be called as short option @@ -300,10 +302,10 @@ int main(int argc, const char * argv[]) { shshSavePath = optarg; break; case '4': // long option: "print-tss-request"; can be called as short option - print_tss_request = 1; + tss_set_print_tss_request(1); break; case '5': // long option: "print-tss-response"; can be called as short option - print_tss_response = 1; + tss_set_print_tss_response(1); break; case '6': // long option: "beta"; can be called as short option versVals.useBeta = 1; @@ -324,6 +326,8 @@ int main(int argc, const char * argv[]) { case 'r': // long option: "raw"; can be called as short option rawFilePath = optarg; idevicerestore_debug = 1; + tss_set_print_tss_request(1); + tss_set_print_tss_response(1); tss_set_debug_level(3); break; case 'c': // long option: "bbsnum"; can be called as short option diff --git a/tsschecker/tsschecker.h b/tsschecker/tsschecker.h index d732a87..fff6729 100644 --- a/tsschecker/tsschecker.h +++ b/tsschecker/tsschecker.h @@ -37,14 +37,12 @@ extern "C" { #include "debug.h" extern int dbglog; -extern int print_tss_response; extern int nocache; extern int save_shshblobs; extern int update_install; extern int erase_install; extern int save_bplist; extern const char *shshSavePath; -extern int print_tss_request; struct bbdevice{ const char *deviceModel;