install smart dock
This commit is contained in:
+1
-5
@@ -27,10 +27,6 @@ class Gapps(General):
|
||||
"setupwizardtablet-x86_64.tar.lz"
|
||||
]
|
||||
|
||||
def download(self):
|
||||
Logger.info("Downloading OpenGapps now to {} .....".format(self.download_loc))
|
||||
super().download()
|
||||
|
||||
def copy(self):
|
||||
if not os.path.exists(self.extract_to):
|
||||
os.makedirs(self.extract_to)
|
||||
@@ -56,4 +52,4 @@ class Gapps(General):
|
||||
app_name = os.listdir(os.path.join(self.extract_to, "appunpack"))[0]
|
||||
common_content_dirs = os.listdir(os.path.join(self.extract_to, "appunpack", app_name, "common"))
|
||||
for ccdir in common_content_dirs:
|
||||
shutil.copytree(os.path.join(self.extract_to, "appunpack", app_name, "common", ccdir), os.path.join(self.copy_dir, self.partition, ccdir), dirs_exist_ok=True)
|
||||
shutil.copytree(os.path.join(self.extract_to, "appunpack", app_name, "common", ccdir), os.path.join(self.copy_dir, self.partition, ccdir), dirs_exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user