Browse Source

latesst changes, getting more versions supported

Kevin Bradley 4 years ago
parent
commit
abb2d24485

+ 1 - 0
DalesDeadBug.plist

@@ -6,6 +6,7 @@
 			"com.netflix.Netflix",
 			"com.att.tv",
 			"com.apple.TVSettingKit",
+			"com.valvesoftware.SteamLink17",
 		);
 		Executables = (
 			TVAppStore,

+ 2 - 2
Makefile

@@ -2,7 +2,7 @@ ARCHS = arm64
 TARGET = appletv
 export GO_EASY_ON_ME=1
 export SDKVERSION=10.2
-THEOS_DEVICE_IP=etv.local
+THEOS_DEVICE_IP=apple-tv.local
 
 include theos/makefiles/common.mk
 
@@ -23,7 +23,7 @@ DalesDeadBug_ARCHS = arm64
 include $(THEOS_MAKE_PATH)/tweak.mk
 
 #comment in to install our uncaught notification hooker
-#SUBPROJECTS += Hopperh4x ddbsettings
+SUBPROJECTS += Hopperh4x ddbsettings
 include $(THEOS_MAKE_PATH)/aggregate.mk
 	
 all::

+ 1 - 1
Shim.xm

@@ -180,4 +180,4 @@
 	%log;
 	return NO;
 }
-%end
+%end

+ 6 - 1
ddbsettings/DDBSettingsController.h

@@ -3,7 +3,12 @@
 //@interface DDBRootListController : PSListController
 //
 //@end
-#import "prefs.h"
+//#import "prefs.h"
+#import <UIKit/UIKit.h>
+#import "TSKViewController.h"
+#import "TSKSettingGroup.h"
+#import "TSKVibrantImageView.h"
+#import "TSKPreviewViewController.h"
 
 
 @interface DDBSettingsController: TSKViewController

+ 7 - 6
ddbsettings/DDBSettingsController.m

@@ -1,6 +1,7 @@
 
 
 #import "DDBSettingsController.h"
+#import "TSKTextInputSettingItem.h"
 
 @interface TVSPreferences : NSObject
 
@@ -66,17 +67,17 @@
     //Class TSKTIVC = NSClassFromString(@"TSKTextInputViewController");
     
    
-    //TSKSettingItem *textEntryItem = [TSKSettingItem textInputItemWithTitle:@"Tests text entry" description:@"This is a test" representedObject:testObject keyPath:nil];
+    //TSKSettingItem *textEntryItem = [TSKSettingItem textInputItemWithTitle:@"Tests text entry2" description:@"This is a test2" representedObject:facade keyPath:@"TextTest"];
     //+(id)actionItemWithTitle:(id)arg1 description:(id)arg2 representedObject:(id)arg3 keyPath:(id)arg4 target:(id)arg5 action:(SEL)arg6
     //[testObject setEditingItem:textEntryItem];
-    
-    TSKSettingItem *textEntryItem = [TSKSettingItem actionItemWithTitle:@"Tests text entry" description:@"This is a test" representedObject:facade keyPath:@"TextTest" target:self action:@selector(showViewController:)];
-    [textEntryItem setLocalizedValue:@"TEST"];
+    TSKTextInputSettingItem *textEntryItem =  [TSKTextInputSettingItem textInputItemWithTitle:@"Tests text entry1" description:@"This is a test3" representedObject:facade keyPath:@"TextTest"];
+    //TSKSettingItem *textEntryItem = [TSKSettingItem actionItemWithTitle:@"Tests text entry" description:@"This is a test" representedObject:facade keyPath:@"TextTest" target:self action:@selector(showViewController:)];
+    //[textEntryItem setLocalizedValue:@"TEST"];
     //:+[<TSKSettingItem: 0x1b48d3c88> actionItemWithTitle:Sleep Now description:(null) representedObject:(null) keyPath:(null) target:<TVSettingsMainViewController: 0x15204d600> action:_sleepNow:]
     //[textEntryItem set]
 
-    TSKSettingItem *multiItem = [TSKSettingItem multiValueItemWithTitle:@"Spoofed Version" description:@"The version you are going to spoof." representedObject:facade keyPath:@"SpoofVersion" availableValues:@[@"11.1", @"11.2", @"11.3", @"11.4"]];
-    TSKSettingGroup *group = [TSKSettingGroup groupWithTitle:nil settingItems:@[toggleItem, multiItem, textEntryItem]];
+    TSKSettingItem *multiItem = [TSKSettingItem multiValueItemWithTitle:@"Spoofed Version" description:@"The version you are going to spoof." representedObject:facade keyPath:@"SpoofVersion" availableValues:@[@"11.1", @"11.2", @"11.3", @"11.4", @"11.4.1", @"12.0", @"12.1", @"12.2", @"12.3", @"13.0"]];
+    TSKSettingGroup *group = [TSKSettingGroup groupWithTitle:nil settingItems:@[toggleItem, multiItem]];
     [_backingArray addObject:group];
     [self setValue:_backingArray forKey:@"_settingGroups"];
     

+ 2 - 2
ddbsettings/Makefile

@@ -10,9 +10,9 @@ BUNDLE_NAME = DDBSettings
 DDBSettings_FILES = DDBSettingsController.m
 DDBSettings_INSTALL_PATH = /Library/PreferenceBundles
 DDBSettings_FRAMEWORKS = UIKit TVSettingKit
-DDBSettings_PRIVATE_FRAMEWORKS = Preferences
+#DDBSettings_PRIVATE_FRAMEWORKS = Preferences
 DDBSettings_LDFLAGS = -undefined dynamic_lookup
-DDBSettings_CFLAGS+= -I. -ITVSettings
+DDBSettings_CFLAGS+= -I. -ITVSettings -ITVSettingsKit
 
 include $(THEOS_MAKE_PATH)/bundle.mk
 

+ 2 - 2
layout/DEBIAN/control

@@ -2,10 +2,10 @@ Package: com.nito.dalesdeadbug
 Name: Dales Dead Bug
 Pre-Depends: cy+model.appletv
 Depends: mobilesubstrate, preferenceloader
-Version: 1.0
+Version: 1.1
 Architecture: appletvos-arm64
 Description: Get unsupported Applications to install on lower version
 Maintainer: Kevin Bradley
 Author: Kevin Bradley
 Section: Library
-Depiction: http://nitosoft.com/ATV4/dale/dale.json
+Depiction: http://nitosoft.com/ATV4/dale/dale.json