mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
Remove stub embedding from native and scripts
Remove stub.apk and stub.xz extraction, compression, ramdisk embedding, and daemon auto-installation from native components (magiskinit, magiskd, scripting), installation scripts, MagiskInstaller, and build.py. Assisted-by: Gemini 4 Argon
This commit is contained in:
@@ -664,11 +664,6 @@ def push_files(files: list[Path], push_apk: bool = False):
|
||||
to_push = list(files)
|
||||
|
||||
with ZipFile(apk) as zf:
|
||||
# Extract stub.apk
|
||||
stub = tmp / "stub.apk"
|
||||
stub.write_bytes(zf.read("assets/stub.apk"))
|
||||
to_push.append(stub)
|
||||
|
||||
# Extract assets/*.sh
|
||||
for name in zf.namelist():
|
||||
if name.startswith("assets/") and name.endswith(".sh") and name.count("/") == 1:
|
||||
|
||||
Reference in New Issue
Block a user