mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
ignore ds_store instead of whole dot files
This commit is contained in:
@@ -13,7 +13,7 @@ class PosterboardTweak(Tweak):
|
||||
|
||||
def recursive_add(self, files_to_restore: list[FileToRestore], curr_path: str, restore_path: str = "", isAdding: bool = False):
|
||||
for folder in sorted(os.listdir(curr_path)):
|
||||
if folder.startswith('.'):
|
||||
if folder == ".DS_Store" or folder == "__MACOSX":
|
||||
continue
|
||||
if isAdding:
|
||||
# if file then add it, otherwise recursively call again
|
||||
|
||||
Reference in New Issue
Block a user