You've already forked Zygisk-Assistant
mirror of
https://github.com/snake-4/Zygisk-Assistant.git
synced 2025-09-06 06:37:02 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa9a8a04e3 | ||
|
|
670767a82b | ||
|
|
7200b77043 | ||
|
|
a07e62fcd7 | ||
|
|
0ee57d586f |
@@ -15,6 +15,6 @@ val commitHash: String by extra({
|
||||
|
||||
val moduleId by extra("zygisk-assistant")
|
||||
val moduleName by extra("Zygisk Assistant")
|
||||
val verName by extra("v2.0.0")
|
||||
val verCode by extra(200)
|
||||
val verName by extra("v2.0.2")
|
||||
val verCode by extra(202)
|
||||
val abiList by extra(listOf("armeabi-v7a","arm64-v8a","x86","x86_64"))
|
||||
|
||||
@@ -55,6 +55,9 @@ androidComponents.onVariants { variant ->
|
||||
"versionCode" to verCode
|
||||
)
|
||||
}
|
||||
from("$projectDir/template") {
|
||||
exclude("module.prop")
|
||||
}
|
||||
from(libOutDir) {
|
||||
into("zygisk")
|
||||
}
|
||||
|
||||
@@ -41,6 +41,13 @@ static bool shouldUnmount(const mount_entry_t &info)
|
||||
if (workdir != options.end() && workdir->second.rfind("/data/adb", 0) == 0)
|
||||
return true;
|
||||
}
|
||||
|
||||
// Unmount the bind mount of default Systemless Hosts module of Magisk
|
||||
// It should've been an overlay instead but we'll make an exception for this one
|
||||
// TODO: Maybe we can unmount all binds from userdata to system?
|
||||
if (mountPoint == "/system/etc/hosts")
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,3 +4,4 @@ version=${versionName}
|
||||
versionCode=${versionCode}
|
||||
author=snake-4
|
||||
description=Zygisk module to hide mounts.
|
||||
updateJson=https://raw.githubusercontent.com/snake-4/Zygisk-Assistant/main/update_metadata/update.json
|
||||
|
||||
5
update_metadata/CHANGELOG.md
Normal file
5
update_metadata/CHANGELOG.md
Normal file
@@ -0,0 +1,5 @@
|
||||
## 2.0.2
|
||||
+ Fixed Magisk compatibility.
|
||||
|
||||
## 2.0.1
|
||||
+ Added update.json for automatic updates.
|
||||
6
update_metadata/update.json
Normal file
6
update_metadata/update.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"version": "v2.0.1",
|
||||
"versionCode": 201,
|
||||
"zipUrl": "https://github.com/snake-4/Zygisk-Assistant/releases/download/v2.0.1/Zygisk-Assistant-v2.0.1-0ee57d5-release.zip",
|
||||
"changelog": "https://raw.githubusercontent.com/snake-4/Zygisk-Assistant/main/update_metadata/CHANGELOG.md"
|
||||
}
|
||||
Reference in New Issue
Block a user