forked from Mojave/Tick11
Initial Release 1.0
This commit is contained in:
45
.theos/obj/debug/arm64/TCKAppearanceSettings.m.f5cebdc3.Td
Normal file
45
.theos/obj/debug/arm64/TCKAppearanceSettings.m.f5cebdc3.Td
Normal file
@ -0,0 +1,45 @@
|
||||
/Users/alex/Documents/GitHub/tick/.theos/obj/debug/arm64/TCKAppearanceSettings.m.f5cebdc3.o: \
|
||||
TCKAppearanceSettings.m /Users/alex/theos/Prefix.pch \
|
||||
/Users/alex/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/alex/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/alex/theos/vendor/include/HBLog.h TCKRootListController.h \
|
||||
/Users/alex/theos/vendor/include/Preferences/PSListController.h \
|
||||
/Users/alex/theos/vendor/include/Preferences/PSViewController.h \
|
||||
/Users/alex/theos/vendor/include/Preferences/PSSpecifier.h \
|
||||
/Users/alex/theos/vendor/include/Preferences/PSTableCell.h \
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \
|
||||
/Users/alex/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \
|
||||
NSTask.h
|
||||
|
||||
/Users/alex/theos/Prefix.pch:
|
||||
|
||||
/Users/alex/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/HBLog.h:
|
||||
|
||||
TCKRootListController.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/Preferences/PSListController.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/Preferences/PSViewController.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/Preferences/PSSpecifier.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/Preferences/PSTableCell.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||
|
||||
NSTask.h:
|
BIN
.theos/obj/debug/arm64/TCKAppearanceSettings.m.f5cebdc3.o
Normal file
BIN
.theos/obj/debug/arm64/TCKAppearanceSettings.m.f5cebdc3.o
Normal file
Binary file not shown.
45
.theos/obj/debug/arm64/TCKRootListController.m.f5cebdc3.Td
Normal file
45
.theos/obj/debug/arm64/TCKRootListController.m.f5cebdc3.Td
Normal file
@ -0,0 +1,45 @@
|
||||
/Users/alex/Documents/GitHub/tick/.theos/obj/debug/arm64/TCKRootListController.m.f5cebdc3.o: \
|
||||
TCKRootListController.m /Users/alex/theos/Prefix.pch \
|
||||
/Users/alex/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/alex/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/alex/theos/vendor/include/HBLog.h TCKRootListController.h \
|
||||
/Users/alex/theos/vendor/include/Preferences/PSListController.h \
|
||||
/Users/alex/theos/vendor/include/Preferences/PSViewController.h \
|
||||
/Users/alex/theos/vendor/include/Preferences/PSSpecifier.h \
|
||||
/Users/alex/theos/vendor/include/Preferences/PSTableCell.h \
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \
|
||||
/Users/alex/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \
|
||||
NSTask.h
|
||||
|
||||
/Users/alex/theos/Prefix.pch:
|
||||
|
||||
/Users/alex/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/HBLog.h:
|
||||
|
||||
TCKRootListController.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/Preferences/PSListController.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/Preferences/PSViewController.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/Preferences/PSSpecifier.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/Preferences/PSTableCell.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||
|
||||
NSTask.h:
|
BIN
.theos/obj/debug/arm64/TCKRootListController.m.f5cebdc3.o
Normal file
BIN
.theos/obj/debug/arm64/TCKRootListController.m.f5cebdc3.o
Normal file
Binary file not shown.
BIN
.theos/obj/debug/arm64/Tick.dylib
Executable file
BIN
.theos/obj/debug/arm64/Tick.dylib
Executable file
Binary file not shown.
20
.theos/obj/debug/arm64/Tick.dylib.dSYM/Contents/Info.plist
Normal file
20
.theos/obj/debug/arm64/Tick.dylib.dSYM/Contents/Info.plist
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.Tick.dylib</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
BIN
.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs
Executable file
BIN
.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.TickPrefs</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
20
.theos/obj/debug/arm64/Tweak.x.4a893777.Td
Normal file
20
.theos/obj/debug/arm64/Tweak.x.4a893777.Td
Normal file
@ -0,0 +1,20 @@
|
||||
/Users/alex/Documents/GitHub/tick/.theos/obj/debug/arm64/Tweak.x.4a893777.o: \
|
||||
/Users/alex/Documents/GitHub/tick/.theos/obj/debug/arm64/Tweak.x.m \
|
||||
/Users/alex/theos/Prefix.pch \
|
||||
/Users/alex/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/alex/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/alex/theos/vendor/include/HBLog.h \
|
||||
/Users/alex/Documents/GitHub/tick/Tweak.h \
|
||||
/Users/alex/theos/vendor/include/substrate.h
|
||||
|
||||
/Users/alex/theos/Prefix.pch:
|
||||
|
||||
/Users/alex/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/HBLog.h:
|
||||
|
||||
/Users/alex/Documents/GitHub/tick/Tweak.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/substrate.h:
|
BIN
.theos/obj/debug/arm64/Tweak.x.4a893777.o
Normal file
BIN
.theos/obj/debug/arm64/Tweak.x.4a893777.o
Normal file
Binary file not shown.
23
.theos/obj/debug/arm64/Tweak.x.4bc24640.Td
Normal file
23
.theos/obj/debug/arm64/Tweak.x.4bc24640.Td
Normal file
@ -0,0 +1,23 @@
|
||||
/Users/alex/Documents/GitHub/tick/.theos/obj/debug/arm64/Tweak.x.4bc24640.o: \
|
||||
/Users/alex/Documents/GitHub/tick/.theos/obj/debug/arm64/Tweak.x.m \
|
||||
/Users/alex/theos/Prefix.pch \
|
||||
/Users/alex/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/alex/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/alex/theos/vendor/include/HBLog.h \
|
||||
/Users/alex/Documents/GitHub/tick/Tweak/Tick.h \
|
||||
/Users/alex/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \
|
||||
/Users/alex/theos/vendor/include/substrate.h
|
||||
|
||||
/Users/alex/theos/Prefix.pch:
|
||||
|
||||
/Users/alex/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/HBLog.h:
|
||||
|
||||
/Users/alex/Documents/GitHub/tick/Tweak/Tick.h:
|
||||
|
||||
/Users/alex/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||
|
||||
/Users/alex/theos/vendor/include/substrate.h:
|
BIN
.theos/obj/debug/arm64/Tweak.x.4bc24640.o
Normal file
BIN
.theos/obj/debug/arm64/Tweak.x.4bc24640.o
Normal file
Binary file not shown.
78
.theos/obj/debug/arm64/Tweak.x.m
Normal file
78
.theos/obj/debug/arm64/Tweak.x.m
Normal file
@ -0,0 +1,78 @@
|
||||
#line 1 "Tweak.x"
|
||||
#import "Tick.h"
|
||||
|
||||
void playSound() {
|
||||
|
||||
int loudness = [loudnessLevel intValue];
|
||||
|
||||
SystemSoundID sound = 0;
|
||||
AudioServicesDisposeSystemSoundID(sound);
|
||||
|
||||
if (loudness == 0) {
|
||||
AudioServicesCreateSystemSoundID((CFURLRef) CFBridgingRetain([NSURL fileURLWithPath:@"/Library/Application Support/Tick/tick.caf"]), &sound);
|
||||
|
||||
} else if (loudness == 1) {
|
||||
AudioServicesCreateSystemSoundID((CFURLRef) CFBridgingRetain([NSURL fileURLWithPath:@"/Library/Application Support/Tick/tick2.caf"]), &sound);
|
||||
|
||||
} else if (loudness == 2) {
|
||||
AudioServicesCreateSystemSoundID((CFURLRef) CFBridgingRetain([NSURL fileURLWithPath:@"/Library/Application Support/Tick/tick3.caf"]), &sound);
|
||||
|
||||
}
|
||||
|
||||
AudioServicesPlaySystemSound((SystemSoundID)sound);
|
||||
|
||||
}
|
||||
|
||||
|
||||
#include <substrate.h>
|
||||
#if defined(__clang__)
|
||||
#if __has_feature(objc_arc)
|
||||
#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
|
||||
#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
|
||||
#define _LOGOS_SELF_CONST const
|
||||
#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
|
||||
#else
|
||||
#define _LOGOS_SELF_TYPE_NORMAL
|
||||
#define _LOGOS_SELF_TYPE_INIT
|
||||
#define _LOGOS_SELF_CONST
|
||||
#define _LOGOS_RETURN_RETAINED
|
||||
#endif
|
||||
#else
|
||||
#define _LOGOS_SELF_TYPE_NORMAL
|
||||
#define _LOGOS_SELF_TYPE_INIT
|
||||
#define _LOGOS_SELF_CONST
|
||||
#define _LOGOS_RETURN_RETAINED
|
||||
#endif
|
||||
|
||||
@class SBUIIconForceTouchViewController;
|
||||
|
||||
|
||||
#line 25 "Tweak.x"
|
||||
static BOOL (*_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$)(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id); static BOOL _logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id);
|
||||
|
||||
|
||||
|
||||
static BOOL _logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1, id arg2) {
|
||||
|
||||
if (enabled) {
|
||||
playSound();
|
||||
|
||||
}
|
||||
|
||||
return _logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$(self, _cmd, arg1, arg2);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
static __attribute__((constructor)) void _logosLocalCtor_36835025(int __unused argc, char __unused **argv, char __unused **envp) {
|
||||
pfs = [[HBPreferences alloc] initWithIdentifier:@"me.shymemoriees.tickpreferences"];
|
||||
|
||||
[pfs registerBool:&enabled default:YES forKey:@"Enabled"];
|
||||
[pfs registerObject:&loudnessLevel default:@"0" forKey:@"Loudness"];
|
||||
|
||||
if(enabled)
|
||||
{Class _logos_class$Tick$SBUIIconForceTouchViewController = objc_getClass("SBUIIconForceTouchViewController"); MSHookMessageEx(_logos_class$Tick$SBUIIconForceTouchViewController, @selector(presentAnimated:withCompletionHandler:), (IMP)&_logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$, (IMP*)&_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$);}
|
||||
}
|
Reference in New Issue
Block a user