-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathMakefile
33 lines (28 loc) · 981 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
ARCHS = arm64
ifeq ($(SIMULATOR),1)
TARGET = simulator:clang:latest:15.0
else
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
TARGET = iphone:clang:latest:15.0
else ifeq ($(THEOS_PACKAGE_SCHEME),roothide)
TARGET = iphone:clang:latest:15.0
else
TARGET = iphone:clang:latest:11.0
endif
endif
PACKAGE_VERSION = 1.3.5
INSTALL_TARGET_PROCESSES = YouTube
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = YouQuality
$(TWEAK_NAME)_FILES = Tweak.x
$(TWEAK_NAME)_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk
ifeq ($(SIMULATOR),1)
include ../../Simulator/preferenceloader-sim/locatesim.mk
setup:: clean all
@rm -f /opt/simject/$(TWEAK_NAME).dylib
@cp -v $(THEOS_OBJ_DIR)/$(TWEAK_NAME).dylib /opt/simject/$(TWEAK_NAME).dylib
@cp -v $(PWD)/$(TWEAK_NAME).plist /opt/simject/$(TWEAK_NAME).plist
@mkdir -p "$(PL_SIMULATOR_APPLICATION_SUPPORT_PATH)"
@cp -vR "$(PWD)/layout/Library/Application Support/$(TWEAK_NAME).bundle" "$(PL_SIMULATOR_APPLICATION_SUPPORT_PATH)/"
endif