mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 10:38:45 -04:00
Update Makefile
This commit is contained in:

committed by
GitHub

parent
3a097e08f6
commit
1411675b86
6
Makefile
6
Makefile
@@ -59,8 +59,12 @@ before-all::
|
||||
@if [[ ! -f $(YTLITE_DEB) ]]; then \
|
||||
rm -rf $(YTLITE_PATH)/*; \
|
||||
$(PRINT_FORMAT_BLUE) "Downloading YTLite"; \
|
||||
echo "YTLITE_VERSION: $(YTLITE_VERSION)"; \
|
||||
fi
|
||||
before-all::
|
||||
@if [[ ! -f $(YTLITE_DEB) ]]; then \
|
||||
curl -s -L "https://github.com/dayanch96/YTLite/releases/download/v$(YTLITE_VERSION)/com.dvntm.ytlite_$(YTLITE_VERSION)_iphoneos-arm64.deb" -o $(YTLITE_DEB); \
|
||||
fi; \
|
||||
if [[ ! -f $(YTLITE_DYLIB) || ! -d $(YTLITE_BUNDLE) ]]; then \
|
||||
tar -xf $(YTLITE_DEB) -C $(YTLITE_PATH); tar -xf $(YTLITE_PATH)/data.tar* -C $(YTLITE_PATH); \
|
||||
if [[ ! -f $(YTLITE_DYLIB) || ! -d $(YTLITE_BUNDLE) ]]; then \
|
||||
$(PRINT_FORMAT_ERROR) "Failed to extract YTLite"; exit 1; \
|
||||
|
Reference in New Issue
Block a user