Support for rootless JB till iOS 16.5 (tested) (screendumpLowFrame)

This commit is contained in:
Siddharth Saxena
2023-12-14 20:37:12 +05:30
parent 03bd97c273
commit 91e167e25d
11 changed files with 30 additions and 15 deletions

View File

@@ -1,9 +1,11 @@
#include <errno.h>
#include <substrate.h>
#include <rfb/rfb.h>
#import <xpc/xpc.h>
#import <Foundation/Foundation.h>
#import <IOSurface/IOSurfaceRef.h>
#import <rootless.h>
#define kSettingsPath @"//var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist"
#define kSettingsPath @"/var/jb/var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist"
static bool CCSisEnabled = true;
static NSString *CCSPassword = nil;