From 7ce6203e9c7ecc8ce2b4d968badd3ade1afb4926 Mon Sep 17 00:00:00 2001 From: Viggo Lekdorf Date: Fri, 3 May 2019 22:35:46 +0200 Subject: [PATCH] Initial commit --- Makefile | 12 ++++++++++++ README.md | 2 ++ RoundedPageDots.plist | 8 ++++++++ Tweak.xm | 12 ++++++++++++ control | 10 ++++++++++ 5 files changed, 44 insertions(+) create mode 100644 Makefile create mode 100644 RoundedPageDots.plist create mode 100644 Tweak.xm create mode 100644 control diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b6560ba --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +ARCHS = armv7 arm64 arm64e +TARGET = iphone:clang:10.3:10.3 + +include $(THEOS)/makefiles/common.mk + +TWEAK_NAME = RoundedPageDots +RoundedPageDots_FILES = Tweak.xm + +include $(THEOS_MAKE_PATH)/tweak.mk + +after-install:: + install.exec "killall -9 SpringBoard" diff --git a/README.md b/README.md index f92f3fd..b286437 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # RoundedPageDots Simple extension for jailbroken iOS to make the page dots square with rounded corners. + +For arm64e support, build with theos on macOS. diff --git a/RoundedPageDots.plist b/RoundedPageDots.plist new file mode 100644 index 0000000..9903b3c --- /dev/null +++ b/RoundedPageDots.plist @@ -0,0 +1,8 @@ +{ + Filter = { + Bundles = ( + "com.apple.springboard", + "com.apple.uikit" + ); + }; +} \ No newline at end of file diff --git a/Tweak.xm b/Tweak.xm new file mode 100644 index 0000000..f81264c --- /dev/null +++ b/Tweak.xm @@ -0,0 +1,12 @@ +#import + +@interface _UILegibilityView : UIView + -(UIImageView *)imageView; +@end + +%hook UIPageControl +-(double)_modernCornerRadius { + return 1; +} + +%end \ No newline at end of file diff --git a/control b/control new file mode 100644 index 0000000..20ccba2 --- /dev/null +++ b/control @@ -0,0 +1,10 @@ +Package: com.yaypixxo.roundedpagedots +Name: RoundedPageDots +Depends: mobilesubstrate +Version: 1.0.1 +Architecture: iphoneos-arm +Description: square with rounded corners page dots lol +Depiction: http://yaypixxo.com/depictions?p=com.yaypixxo.roundedpagedots +Maintainer: YaYPIXXO +Author: YaYPIXXO +Section: Tweaks