Viggo Lekdorf пре 4 година
родитељ
комит
ed84d40ee6
4 измењених фајлова са 8 додато и 5 уклоњено
  1. +4
    -3
      Makefile
  2. +1
    -1
      cnonprefs/CNONRootListController.m
  3. +2
    -0
      cnonprefs/Makefile
  4. +1
    -1
      cnonprefs/Resources/Root.plist

+ 4
- 3
Makefile Прегледај датотеку

@@ -1,14 +1,15 @@
ARCHS = arm64 arm64e
TARGET = iphone:clang:11.2:11.2

INSTALL_TARGET_PROCESSES = SpringBoard

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = CustomNoOlderNotifications

CustomNoOlderNotifications_FILES = Tweak.xm
CustomNoOlderNotifications_CFLAGS = -fobjc-arc

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
install.exec "killall -9 SpringBoard"
SUBPROJECTS += cnonprefs
include $(THEOS_MAKE_PATH)/aggregate.mk

+ 1
- 1
cnonprefs/CNONRootListController.m Прегледај датотеку

@@ -11,7 +11,7 @@
return _specifiers;
}

- (void)apply {
- (void)saveTapped {
[self.view endEditing:YES];
CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), CFSTR("com.yaypixxo.cnon/respring"), NULL, NULL, YES);
}

+ 2
- 0
cnonprefs/Makefile Прегледај датотеку

@@ -4,10 +4,12 @@ TARGET = iphone:clang:11.2:11.2
include $(THEOS)/makefiles/common.mk

BUNDLE_NAME = cnonprefs

cnonprefs_FILES = CNONRootListController.m
cnonprefs_INSTALL_PATH = /Library/PreferenceBundles
cnonprefs_FRAMEWORKS = UIKit
cnonprefs_PRIVATE_FRAMEWORKS = Preferences
cnonprefs_CFLAGS = -fobjc-arc

include $(THEOS_MAKE_PATH)/bundle.mk


+ 1
- 1
cnonprefs/Resources/Root.plist Прегледај датотеку

@@ -42,7 +42,7 @@
<key>cell</key>
<string>PSButtonCell</string>
<key>action</key>
<string>apply</string>
<string>saveTapped</string>
<key>label</key>
<string>Respring</string>
</dict>

Loading…
Откажи
Сачувај