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