MCPcopy Create free account
hub / github.com/ZyphrZero/palworld-python-script / remove_ds_store

Function remove_ds_store

src/pyinstaller.py:11–16  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

9
10
11def remove_ds_store(dir):
12 # 删除DS_Store
13 for root, dirs, files in os.walk(dir):
14 for file in files:
15 if file == '.DS_Store':
16 os.remove(os.path.join(root, file))
17
18
19def package_scripts():

Callers 1

pyinstaller.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected