summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFivePixels <o5pxels@gmail.com>2021-07-30 02:58:42 -0500
committerFivePixels <o5pxels@gmail.com>2021-07-30 02:58:42 -0500
commit02e85616da199b6432590b76db66b2d0ed306ae1 (patch)
tree6236759c5b4b38278732612566e7fc1acc61a929
downloadrecte-02e85616da199b6432590b76db66b2d0ed306ae1.tar.xz
recte-02e85616da199b6432590b76db66b2d0ed306ae1.zip
Initial commit
-rw-r--r--.gitignore1
-rw-r--r--Makefile12
-rw-r--r--README.md9
-rw-r--r--Tweak.x7
-rw-r--r--control9
-rw-r--r--recte.plist1
6 files changed, 39 insertions, 0 deletions
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" ); }; }