This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MutliLineFix.m | |
// MultiLineFix | |
// | |
// Created by Seo Hyun-gyu on 2023/03/04. | |
// | |
#import <Foundation/Foundation.h> | |
#import "MultiLineFix.h" | |
#import "fishhook.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
APP_TARGETS=(com.apple.Photos com.apple.Preview com.apple.quicklook.QuickLookUIService com.apple.Safari) | |
for APP_TARGET in "${APP_TARGETS[@]}" | |
do | |
defaults write /Users/$USER/Library/Containers/$APP_TARGET/Data/Library/Preferences/com.apple.VisionKit.InternalSettings com.apple.VisionKit.InternalSettings.overrideDeviceAvailability -bool yes | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct SBIconImageInfo { | |
struct CGSize size; | |
double scale; | |
double continuousCornerRadius; | |
}; | |
- (UIImage *)iconImageForIdentifier:(NSString *)identifier { | |
SBIconController *iconController = [NSClassFromString(@"SBIconController") sharedInstance]; | |
SBIcon *icon = [iconController.model expectedIconForDisplayIdentifier:identifier]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static BOOL tweakEnBOOL; | |
#define SETTINGSFILENEW "com.imokhles.Prefs" | |
#define PREFERENCES_CHANGED_NOTIFICATION "com.imokhles.Prefs.preferences-changed" | |
// non ARC | |
static void iMoLoadPreferences() { | |
CFPreferencesAppSynchronize(CFSTR(SETTINGSFILENEW)); | |
tweakEnBOOL = !CFPreferencesCopyAppValue(CFSTR("Enabled"), CFSTR(SETTINGSFILENEW)) ? YES : [(id)CFBridgingRelease(CFPreferencesCopyAppValue(CFSTR("Enabled"), CFSTR(SETTINGSFILENEW))) boolValue]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nic 1 | |
prompt TARGET "BulletinBoard Provider Display Identifier" "com.apple.mobilesafari" | |
dir BulletinBoard | |
dir layout | |
dir layout/Library | |
dir layout/Library/WeeLoader | |
dir layout/Library/WeeLoader/BulletinBoardPlugins | |
dir layout/Library/WeeLoader/BulletinBoardPlugins/@@PROJECTNAME@@.bundle | |
file 366 BulletinBoard/BulletinBoard.h | |
#import <Foundation/Foundation.h> |