This commit is contained in:
m1337
2024-08-29 23:12:03 +07:00
committed by Michael
parent 0ed9b9063c
commit 26f21ff693
16 changed files with 74 additions and 50 deletions

View File

@@ -2,17 +2,16 @@ TARGET = iphone:16.5:14.0
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = screendumpbb
$(TWEAK_NAME)_FILES = Tweak.xm
$(TWEAK_NAME)_FILES = /mnt/d/codes/screendumpLowFrame/hooks/Tweak.xm
$(TWEAK_NAME)_FRAMEWORKS := IOSurface IOKit
$(TWEAK_NAME)_PRIVATE_FRAMEWORKS := IOMobileFramebuffer IOSurface
ADDITIONAL_OBJCFLAGS += -I../vncbuild/include -Iinclude
ADDITIONAL_OBJCFLAGS += -I/mnt/d/codes/screendumpLowFrame/vncbuild/include -Iinclude
ADDITIONAL_LDFLAGS += -Wl,-segalign,4000
ADDITIONAL_CFLAGS = -w
export ARCHS = arm64
$(TWEAK_NAME)_ARCHS = arm64
export ARCHS = arm64 arm64e
$(TWEAK_NAME)_ARCHS = arm64 arm64e
include $(THEOS_MAKE_PATH)/tweak.mk

View File

@@ -7,6 +7,8 @@
#undef NSLog
#define kSettingsPath @"/var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist"
extern "C" UIImage* _UICreateScreenUIImage();
static BOOL isEnabled;