From e2741c64b07ee99b68a1ba577b50990229219089 Mon Sep 17 00:00:00 2001 From: Timothyxxx <384084775@qq.com> Date: Fri, 10 May 2024 16:41:20 +0800 Subject: [PATCH] Improve the logic in auto-installation; Add auto-remove on the failed files --- desktop_env/envs/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/desktop_env/envs/__init__.py b/desktop_env/envs/__init__.py index c787e66..870b674 100644 --- a/desktop_env/envs/__init__.py +++ b/desktop_env/envs/__init__.py @@ -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: