Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
laoyur committed Jul 20, 2018
1 parent a4f4bdb commit 0ffce12
Show file tree
Hide file tree
Showing 55 changed files with 10,963 additions and 64 deletions.
24 changes: 17 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# 一些说明
* **本tweak依赖各种来电助手,请先自行安装并写入数据库后再使用本tweak**
* 本tweak仅在iOS 11.3.1上测试通过,其他系统版本未作测试
* 使用者自行承担后果
* 本tweak目前仅拦截了有限的关键字:推销、广告、房产、中介、骚扰、诈骗、保险、理财,针对刚需用户已经足够
* 以后可能会添加设置模块,可以自定义关键字和一些拦截策略,但不会保证任何ETA,等不及的朋友完全可以自己添加这个模块
# changes in 1.1.0
* 终于有GUI设置界面了
* 应该可以拦截未知号码(需进一步测试)
* 可以选择是否放行联系人
* 支持按区号拦截
* 支持自定义号码黑名单,支持通配符( * 和 ? )
* 支持自定义拦截关键词(跟1.0.0版一样,需要自行安装助手类App来写入标签数据库)
* **接受捐赠**。我曾在v2ex上说过不需要捐赠,后来想了想,既然有GUI了,为啥不做一个功能进去呢

# 如何安装
* 你可以稍等一两天,已经跟BigBoss沟通过,他们表示1.1.0版可以接受(1.0.0被他们拒绝了)
* 直接从Release页面下载编译好的deb
* 下载代码自己编译

# 如何编译
* 下载安装MonkeyDev
* 下载安装Theos
* Targets - CallKiller - Build Settings - MonkeyDevDeviceIP改成你机器的IP,build一下即可
* 机器上装好`ldid``dpkg-deb`,推荐用Homebrew安装
* 打开xcodeproj,配置证书
* 打开终端,cd到项目根目录,执行 `sh generate_deb.sh`,deb包会生成在项目根目录
* `sh deploy.sh DEVICE_IP`,可以快速把deb scp到手机上安装
Binary file added callkiller-1.0.1.deb
Binary file not shown.
Binary file added callkiller-1.1.0.deb
Binary file not shown.
37 changes: 37 additions & 0 deletions callkiller-gui/AFNetworking/AFCompatibilityMacros.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// AFCompatibilityMacros.h
// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#ifndef AFCompatibilityMacros_h
#define AFCompatibilityMacros_h

#ifdef API_UNAVAILABLE
#define AF_API_UNAVAILABLE(x) API_UNAVAILABLE(x)
#else
#define AF_API_UNAVAILABLE(x)
#endif // API_UNAVAILABLE

#if __has_warning("-Wunguarded-availability-new")
#define AF_CAN_USE_AT_AVAILABLE 1
#else
#define AF_CAN_USE_AT_AVAILABLE 0
#endif

#endif /* AFCompatibilityMacros_h */
304 changes: 304 additions & 0 deletions callkiller-gui/AFNetworking/AFHTTPSessionManager.h

Large diffs are not rendered by default.

Loading

0 comments on commit 0ffce12

Please sign in to comment.