From 02e85616da199b6432590b76db66b2d0ed306ae1 Mon Sep 17 00:00:00 2001 From: FivePixels Date: Fri, 30 Jul 2021 02:58:42 -0500 Subject: Initial commit --- .gitignore | 1 + Makefile | 12 ++++++++++++ README.md | 9 +++++++++ Tweak.x | 7 +++++++ control | 9 +++++++++ recte.plist | 1 + 6 files changed, 39 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 README.md create mode 100644 Tweak.x create mode 100644 control create mode 100644 recte.plist diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0505853 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.theos/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b8c1454 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +TARGET := iphone:clang:latest:7.0 + +# include $(THEOS)/makefiles/common.mk +include /home/dylanbolger/theos/makefiles/common.mk + +TWEAK_NAME = recte + +recte_FILES = Tweak.x +recte_CFLAGS = -fobjc-arc + +# include $(THEOS_MAKE_PATH)/tweak.mk +include /home/dylanbolger/theos/makefiles/tweak.mk diff --git a/README.md b/README.md new file mode 100644 index 0000000..1bfaecb --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# recte +recte is a jailbreak tweak that removes the Accessory view from the Pandora app when a device connects to a stereo with Pandora built in. + +## Compiling +To compile, you should comment the current include lines and uncomment the ones commented above it. Then run: +``` + make package +``` +to compile the package. Move the `.deb` file to your iOS device. diff --git a/Tweak.x b/Tweak.x new file mode 100644 index 0000000..d6b919f --- /dev/null +++ b/Tweak.x @@ -0,0 +1,7 @@ +%hook PMAccessoryManager + +- (void)setRoadblockViewController:(id)arg { + %orig(nil); +} + +%end diff --git a/control b/control new file mode 100644 index 0000000..e2e8311 --- /dev/null +++ b/control @@ -0,0 +1,9 @@ +Package: com.fivepixels.recte +Name: recte +Version: 1.0 +Architecture: iphoneos-arm +Description: Remove the accessory view from the Pandora app. +Maintainer: FivePixels +Author: FivePixels +Section: Tweaks +Depends: mobilesubstrate (>= 0.9.5000) diff --git a/recte.plist b/recte.plist new file mode 100644 index 0000000..6da7811 --- /dev/null +++ b/recte.plist @@ -0,0 +1 @@ +{ Filter = { Bundles = ( "com.pandora" ); }; } -- cgit v1.2.3