mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 19:15:55 +08:00
Only filter files in directories starting with .
Mac builds were missing some definitions, which happened because there was a . in the directory. The reason why we filtered these in the first place was because Apple doesn't notarize/sign an App correctly if the directory starts with a . e.q.: .dylibs in scipy and shapely. Made the filtering less aggressive Contributes to CURA-11014
This commit is contained in:
parent
e4cca7014b
commit
f806a61819
@ -207,7 +207,7 @@ class UMBUNDLE(BUNDLE):
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
if typ == 'DATA':
|
if typ == 'DATA':
|
||||||
if any(['.' in p for p in inm.parent.parts]) or inm.suffix == '.so':
|
if any([p.startswith(".") for p in inm.parent.parts if inm.parent.is_dir()]) or inm.suffix == '.so':
|
||||||
# Skip info dist egg and some not needed folders in tcl and tk, since they all contain dots in their files
|
# Skip info dist egg and some not needed folders in tcl and tk, since they all contain dots in their files
|
||||||
logger.warning(f"Skipping DATA file {inm}")
|
logger.warning(f"Skipping DATA file {inm}")
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user