Improve the logic in auto-installation; Add auto-remove on the failed files
This commit is contained in:
@@ -100,6 +100,10 @@ class VirtualMachineManager:
|
||||
# skip the downloaded .zip file
|
||||
if vm_name == DOWNLOADED_FILE_NAME:
|
||||
continue
|
||||
# Skip the .DS_Store file on macOS
|
||||
if vm_name == ".DS_Store":
|
||||
continue
|
||||
|
||||
flag = True
|
||||
for vm_path in vm_paths:
|
||||
if vm_name + ".vmx" in vm_path:
|
||||
|
||||
Reference in New Issue
Block a user