install smart dock

This commit is contained in:
Rikka
2023-05-27 16:46:13 +08:00
committed by Rikka
parent 0abfc4ef4b
commit 59ad317684
11 changed files with 96 additions and 62 deletions
+1 -5
View File
@@ -31,10 +31,6 @@ on property:ro.enable.native.bridge.exec=1
copy /system/etc/binfmt_misc/arm64_exe /proc/sys/fs/binfmt_misc/register
copy /system/etc/binfmt_misc/arm64_dyn /proc/sys/fs/binfmt_misc/register
"""
def download(self):
Logger.info("Downloading libndk to {} now .....".format(self.download_loc))
super().download()
def copy(self):
run(["chmod", "+x", self.extract_to, "-R"])
@@ -54,4 +50,4 @@ on property:ro.enable.native.bridge.exec=1
if not path.isfile(init_path):
makedirs(path.dirname(init_path), exist_ok=True)
with open(init_path, "w") as initfile:
initfile.write(self.init_rc_component)
initfile.write(self.init_rc_component)