hope this works (#1031)

This commit is contained in:
Nguyễn Đạt 2023-03-26 23:33:31 +07:00 committed by GitHub
parent 67ee2e6dd9
commit 66ef2cb61d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,10 +61,8 @@ before-all::
fi
before-all::
@if [[ ! -f $(UYOU_DEB) ]]; 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; \
curl -s https://miro92.com/repo/debs/com.miro.uyou_$(UYOU_VERSION)_iphoneos-arm.deb -o $(UYOU_DEB); \
fi; \
if [[ ! -f $(UYOU_DYLIB) || ! -d $(UYOU_BUNDLE) ]]; then \
tar -xf Tweaks/uYou/com.miro.uyou_$(UYOU_VERSION)_iphoneos-arm.deb -C Tweaks/uYou; tar -xf Tweaks/uYou/data.tar* -C Tweaks/uYou; \
if [[ ! -f $(UYOU_DYLIB) || ! -d $(UYOU_BUNDLE) ]]; then \