From 5d2542632675367226b1b2b6d01558e83275f32f Mon Sep 17 00:00:00 2001 From: zhangbo Date: Mon, 24 Oct 2022 09:38:26 +0800 Subject: [PATCH] Update OSX DS_store File Name --- Mac/Extras.install.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Mac/Extras.install.py b/Mac/Extras.install.py index ab1af71dfd823f..fa2e2f1149b567 100644 --- a/Mac/Extras.install.py +++ b/Mac/Extras.install.py @@ -9,10 +9,8 @@ debug = 0 def isclean(name): - if name == 'CVS': return 0 - if name == '.cvsignore': return 0 - if name == '.DS_store': return 0 - if name == '.svn': return 0 + if name in ('CVS', '.cvsignore', '.DS_store', '.DS_Store', '.svn'): + return 0 if name.endswith('~'): return 0 if name.endswith('.BAK'): return 0 if name.endswith('.pyc'): return 0