13_theos

2020-08-12  本文已影响0人  伶俐ll

一、安装签名工具ldid

二、修改环境变量

三、下载theos

建议在$THEOS目录下载代码(也就是刚才配置的~/theos目录)

%git clone --recursive https://github.com/theos/theos.git $THEOS

四、新建tweak项目

NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/activator_event
  [2.] iphone/activator_listener
  [3.] iphone/application_modern
  [4.] iphone/application_swift
  [5.] iphone/cydget
  [6.] iphone/flipswitch_switch
  [7.] iphone/framework
  [8.] iphone/library
  [9.] iphone/notification_center_widget
  [10.] iphone/notification_center_widget-7up
  [11.] iphone/preference_bundle_modern
  [12.] iphone/theme
  [13.] iphone/tool
  [14.] iphone/tool_swift
  [15.] iphone/tweak
  [16.] iphone/tweak_with_simple_preferences
  [17.] iphone/xpc_service
Choose a Template (required): 15
Project Name (required): springBoard_tweak
Package Name [com.yourcompany.springboard_tweak]: com.lingli.springborad
Author/Maintainer Name [lingli]: lingliz
[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]: 
[iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]: 
Instantiating iphone/tweak in springboard_tweak/...
Done.

五、编辑Makefile

六、编写代码

%hook SBIconParallaxBadgeView

- (id)init
{
    return nil;
}

%end

七、编译-打包-安装

八、theos-tweak的实现过程

疑问
上一篇 下一篇

猜你喜欢

热点阅读