Initial Release 1.0

This commit is contained in:
ShyMemoriees
2019-11-21 19:15:55 +01:00
commit a1c9df151d
124 changed files with 1660 additions and 0 deletions

View 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:

View 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/Tick.dylib Executable file

Binary file not shown.

View 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.

View 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.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>

View 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:

Binary file not shown.

View 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:

Binary file not shown.

View 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$);}
}