Copy IAs to tmp during CIM

This commit is contained in:
Mykola Grymalyuk
2022-07-02 11:13:44 -06:00
parent 1fba4901c4
commit b7b3f19fa0
3 changed files with 44 additions and 4 deletions
+3
View File
@@ -123,6 +123,9 @@ class create_binary:
if file.name in delete_files:
print(f" - Deleting {file.name}")
file.unlink()
elif (Path(file) / Path("Contents/Resources/createinstallmedia")).exists():
print(f" - Deleting {file}")
subprocess.run(["rm", "-rf", file])
def download_resources(self):
patcher_support_pkg_version = constants.Constants().patcher_support_pkg_version