Initial commit

This commit is contained in:
Jamie Berghmans
2019-12-28 04:08:10 +01:00
commit 5021a86256
5 changed files with 38 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.DS_Store
.theos
packages

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
INSTALL_TARGET_PROCESSES = SpringBoard
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = NoCShare
NoCShare_FILES = Tweak.x
NoCShare_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk

1
NoCShare.plist Normal file
View File

@ -0,0 +1 @@
{ Filter = { Bundles = ( "com.apple.UIKit" ); }; }

15
Tweak.x Normal file
View File

@ -0,0 +1,15 @@
@interface UIActivityContentViewController
- (void) viewDidLoad;
@property NSArray * airDropSlots;
- (void) setAirDropSlots:(NSArray*)arg1;
@end
%hook UIActivityContentViewController
- (void) viewDidLoad {
self.airDropSlots = [NSMutableArray new];
}
- (void) setAirDropSlots:(NSArray*)arg1 {
//Do nothing
}
%end

9
control Normal file
View File

@ -0,0 +1,9 @@
Package: com.devvix.nocshare
Name: NoCShare
Depends: mobilesubstrate
Version: 1.0.0
Architecture: iphoneos-arm
Description: Remove annoying airdrop and contacts from share menu.
Maintainer: Devvix
Author: Devvix
Section: Tweaks