INNER CODE UNIT · Python

__init__

casualsnek/waydroid_script · stuff/fdroidpriv.py:29

    def __init__(self, android_version="11") -> None:
        super().__init__()
        self.dl_link = self.dl_links[android_version][0]
        self.act_md5 = self.dl_links[android_version][1]

    def copy(self):
        for f, d in self.file_map.items():
            rro_file = os.path.join(
                self.copy_dir, self.partition, d)
            rro_dir = os.path.dirname(rro_file)
            if not os.path.exists(rro_dir):
                os.makedirs(rro_dir)
            shutil.copyfile(os.path.join(self.extract_to, f), rro_file)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…