tools: skip hidden files in res_collect
This commit is contained in:
parent
81a8f0b9bc
commit
90836621f5
|
@ -12,6 +12,8 @@ def process_file(name):
|
|||
return
|
||||
if name.endswith('.py'):
|
||||
return
|
||||
if os.path.basename(name).startswith('.'):
|
||||
return
|
||||
with open(name, 'rb') as f:
|
||||
data = f.read()
|
||||
resources[name] = data
|
||||
|
|
Loading…
Reference in New Issue