From 031e329da5f9c520190d8b180737857cf988bc51 Mon Sep 17 00:00:00 2001 From: TheRealKeto Date: Tue, 11 Jun 2024 01:24:00 -0400 Subject: [PATCH] ipatool: Update to 2.1.4 --- makefiles/ipatool.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/makefiles/ipatool.mk b/makefiles/ipatool.mk index 5ea4a7c590..d88cdc453d 100644 --- a/makefiles/ipatool.mk +++ b/makefiles/ipatool.mk @@ -5,7 +5,7 @@ endif ifneq (,$(findstring darwin,$(MEMO_TARGET))) SUBPROJECTS += ipatool -IPATOOL_VERSION := 2.0.0 +IPATOOL_VERSION := 2.1.4 DEB_IPATOOL_V ?= $(IPATOOL_VERSION) ipatool-setup: setup @@ -17,10 +17,9 @@ ipatool: @echo "Using previously built ipatool." else ipatool: ipatool-setup - sed -e '3s|.*|VERSION="$(DEB_IPATOOL_V)"|' -i $(BUILD_WORK)/ipatool/tools/version.sh - cd $(BUILD_WORK)/ipatool && ./tools/version.sh cd $(BUILD_WORK)/ipatool && $(DEFAULT_GOLANG_FLAGS) go build \ -trimpath \ + -ldflags "-X github.com/majd/ipatool/v2/cmd.version=$(IPATOOL_VERSION)" \ -o $(BUILD_WORK)/ipatool/ipatool $(INSTALL) -Dm755 $(BUILD_WORK)/ipatool/ipatool -t $(BUILD_STAGE)/ipatool/$(MEMO_PREFIX)$(MEMO_SUB_PREFIX)/bin/ $(call AFTER_BUILD)