feat: No updates, chore: screenshots

This commit is contained in:
MoonLeeeaf
2024-06-09 11:06:17 +08:00
parent 05f2d3915c
commit c6a3f015e5
5 changed files with 68 additions and 10 deletions

View File

@@ -1,20 +1,50 @@
{
"allFiles": [
{
"file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/res/xml/config.xml",
"selection": {
"end": {
"column": 15,
"index": 519,
"line": 17
},
"start": {
"column": 15,
"index": 519,
"line": 17
}
}
},
{
"file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java",
"selection": {
"end": {
"column": 51,
"index": 3944,
"line": 90
"column": 28,
"index": 5956,
"line": 146
},
"start": {
"column": 51,
"index": 3944,
"line": 90
"column": 28,
"index": 5956,
"line": 146
}
}
},
{
"file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/build.gradle",
"selection": {
"end": {
"column": 22,
"index": 272,
"line": 14
},
"start": {
"column": 22,
"index": 272,
"line": 14
}
}
}
],
"selectedFile": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java"
"selectedFile": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/res/xml/config.xml"
}

BIN
.github/1.jpg vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 391 KiB

View File

@@ -12,8 +12,8 @@ android {
applicationId "io.github.moonleeeaf.fuckmaonemo"
minSdk 21
targetSdk 33
versionCode 11000
versionName "1.1.0"
versionCode 12000
versionName "1.2.0"
vectorDrawables {
useSupportLibrary true

View File

@@ -150,6 +150,28 @@ public class Hook implements IXposedHookLoadPackage {
);
});
// 屏蔽更新
load("fuck_update", () -> {
XposedBridge.log("[FuckMaoNemo] Hook_屏蔽更新");
XposedBridge.hookMethod(
getMethod(
XposedHelpers.findClass("cn.codemao.android.update.CodemaoUpdate$Builder", classLoader),
"setEnv",
int.class
),
new XC_MethodHook(){
@Override
protected void afterHookedMethod(MethodHookParam arg0) throws Throwable {
XposedHelpers.setStaticObjectField(
XposedHelpers.findClass("cn.codemao.android.update.util.UpdateConstants", classLoader),
"UPDATE_URL",
"http://114.514.1.1"
);
}
}
);
});
XposedBridge.log("[FuckMaoNemo] 执行完毕");
Toast.makeText(getApplication(), "[FuckMaoNemo] 加载成功 (≧▽≦)\n" + nohengheng + " 个功能加载成功, " + aaaa + " 个失败", Toast.LENGTH_LONG).show();

View File

@@ -17,13 +17,19 @@
<SwitchPreference
android:key="fuck_40x"
android:title="阻止服务端响应 40x 码"
android:summary="启用此开关后,将可以:\n拦截 401 码强制登出账号\n强制浏览已封禁账号的资料卡\n评论接口检测\n其他作用\n现在不再弹出 Toast 提示" />
android:summary="拦截 401 码强制登出账号\n强制浏览已封禁账号的资料卡\n评论接口检测\n获得调试信息?" />
<SwitchPreference
android:key="no_records"
android:title="不要追踪我"
android:summary="启用后,模块将会拦截 CodeMaoStat.recordEvent(str, map) 调用(比如点击创作按钮都会发送一个 collect 请求),风险未知" />
<SwitchPreference
android:key="fuck_update"
android:title="屏蔽更新"
android:summary="此功能会让整个更新功能不可用,若已经收到更新提示请先清理 shared_prefs 才可完全生效" />
<SwitchPreference
android:key="fuck_no_proxy"
android:title="反防抓包"