瀏覽代碼

Initial commit

master
Jamie Berghmans 5 年之前
當前提交
5021a86256
共有 5 個檔案被更改,包括 38 行新增0 行删除
  1. +3
    -0
      .gitignore
  2. +10
    -0
      Makefile
  3. +1
    -0
      NoCShare.plist
  4. +15
    -0
      Tweak.x
  5. +9
    -0
      control

+ 3
- 0
.gitignore 查看文件

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

+ 10
- 0
Makefile 查看文件

@@ -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
- 0
NoCShare.plist 查看文件

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

+ 15
- 0
Tweak.x 查看文件

@@ -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
- 0
control 查看文件

@@ -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

Loading…
取消
儲存