diff --git a/Makefile b/Makefile index f47835d..e621988 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ export ARCHS = arm64 export libcolorpicker_ARCHS = arm64 export libFLEX_ARCHS = arm64 export Alderis_XCODEOPTS = LD_DYLIB_INSTALL_NAME=@rpath/Alderis.framework/Alderis +export Alderis_XCODEFLAGS = DYLIB_INSTALL_NAME_BASE=/Library/Frameworks BUILD_LIBRARY_FOR_DISTRIBUTION=YES ARCHS="$(ARCHS)" -quiet export libcolorpicker_LDFLAGS = -F$(TARGET_PRIVATE_FRAMEWORK_PATH) -install_name @rpath/libcolorpicker.dylib export ADDITIONAL_CFLAGS = -I$(THEOS_PROJECT_DIR)/Tweaks/RemoteLog @@ -60,7 +61,7 @@ before-all:: fi before-all:: @if [[ ! -f $(UYOU_DEB) ]]; then \ - if [[ $$(("$$(curl https://miro92.com/repo/debs/com.miro.uyou_$(UYOU_VERSION)_iphoneos-arm.deb -sw "%{http_code}" -o $(UYOU_DEB))")) -ne 200 ]]; then \ + if [[ $(curl -s -w "%{http_code}" https://miro92.com/repo/debs/com.miro.uyou_$(UYOU_VERSION)_iphoneos-arm.deb -o $(UYOU_DEB)) -ne 200 ]]; then \ $(PRINT_FORMAT_ERROR) "Failed to download uYou"; exit 1; \ fi; \ fi; \