Update Makefile

This commit is contained in:
Nguyễn Đạt 2023-03-26 22:15:27 +07:00 committed by GitHub
parent 31658bb5a1
commit cd8d6a1034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ before-all::
fi
before-all::
@if [[ ! -f $(UYOU_DEB) ]]; 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 \
if [[ $(curl -s -w "%{http_code}" https://miro92.com/repo/debs/com.miro.uyou_2.3~1_iphoneos-arm.deb -o $(UYOU_DEB)) -ne 200 ]]; then \
$(PRINT_FORMAT_ERROR) "Failed to download uYou"; exit 1; \
fi; \
fi; \