ynput / ayon-launcher

AYON desktop application launcher
Apache License 2.0
34 stars 14 forks source link

MacOS build: Codesign auto fix #100

Closed iLLiCiTiT closed 8 months ago

iLLiCiTiT commented 9 months ago

Changelog Description

Autofix issue with removing signature from ayon executable.

Additional info

As I understood the issue: Codesign uses cache of executables, and when cx freeze is creating ayon executable it stores some cache that prevents from removing the signature. And removing the executable will clear the cache. So a copy of executable is created, then is removed the source executable to clear cache, and then is renameed the temp copy to the origin name. With this codesign does not crash.

Testing notes:

  1. Running ./tools/make.sh build should work without any issues