Browse Source

latest release, changed to plist based settings

Kevin Bradley 5 years ago
parent
commit
3a0d04655e

+ 4 - 3
Makefile

@@ -2,7 +2,7 @@ ARCHS = arm64
 TARGET = appletv
 export GO_EASY_ON_ME=1
 export SDKVERSION=10.2
-THEOS_DEVICE_IP=btv.local
+THEOS_DEVICE_IP=etv.local
 
 include theos/makefiles/common.mk
 
@@ -10,7 +10,8 @@ TWEAK_NAME = DalesDeadBug
 
 DalesDeadBug_FILES = DalesDeadBug.xm Shim.xm
 DalesDeadBug_LIBRARIES = substrate
-DalesDeadBug_FRAMEWORKS = Foundation UIKit TVSettingKit
+DalesDeadBug_FRAMEWORKS = Foundation UIKit
+DalesDeadBug_PRIVATE_FRAMEWORKS = TVSettingKit
 DalesDeadBug_CFLAGS += -I.
 DalesDeadBug_LDFLAGS = -undefined dynamic_lookup
 #DalesDeadBug_LDFLAGS = -Wl,-segalign,4000
@@ -22,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
layout/DEBIAN/control

@@ -1,7 +1,7 @@
 Package: com.nito.dalesdeadbug
 Name: Dales Dead Bug
 Pre-Depends: cy+model.appletv
-Depends: mobilesubstrate
+Depends: mobilesubstrate, preferenceloader
 Version: 1.0
 Architecture: appletvos-arm64
 Description: Get unsupported Applications to install on lower version

+ 64 - 0
layout/Library/PreferenceLoader/Preferences/DDBSettings.plist

@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>entry</key>
+	<dict>
+		<key>cell</key>
+		<string>PSLinkCell</string>
+		<key>icon</key>
+		<string>DalesDeadBug.jpg</string>
+		<key>label</key>
+		<string>Dales Dead Bug</string>
+		<key>description</key>
+		<string>You just be careful, Computers have already beaten the Communists at chess. Next thing you know, they&apos;ll be beating humans. - Dale Gribble</string>
+	</dict>
+	<key>items</key>
+	<array>
+		<dict>
+			<key>cell</key>
+			<string>PSGroupCell</string>
+		</dict>
+		<dict>
+			<key>cell</key>
+			<string>PSSwitchCell</string>
+			<key>default</key>
+			<true/>
+			<key>defaults</key>
+			<string>com.nito.dalesdeadbug</string>
+			<key>key</key>
+			<string>Enabled</string>
+			<key>label</key>
+			<string>Version spoofing</string>
+			<key>description</key>
+			<string>Whether or not to spoof a higher OS version to install officially unsupported application versions.</string>
+		</dict>
+		<dict>
+			<key>cell</key>
+			<string>PSMultiItemCell</string>
+			<key>default</key>
+			<true/>
+			<key>defaults</key>
+			<string>com.nito.dalesdeadbug</string>
+			<key>key</key>
+			<string>SpoofVersion</string>
+			<key>label</key>
+			<string>Spoofed Version</string>
+			<key>description</key>
+			<string>The version you are going to spoof.</string>
+			<key>availableValues</key>
+			<array>
+				<string>9.0</string>
+				<string>9.1</string>
+				<string>10.2.2</string>
+				<string>11.1</string>
+				<string>11.2</string>
+				<string>11.3</string>
+				<string>11.4</string>
+			</array>
+		</dict>
+	</array>
+	<key>title</key>
+	<string>Dales Dead Bug</string>
+</dict>
+</plist>

BIN
layout/Library/PreferenceLoader/Preferences/DalesDeadBug.jpg