remove .git folder which prevents elecron from code signing

This commit is contained in:
DJ2LS 2023-01-21 12:48:43 +01:00
parent 3044759569
commit 0e465d8bbb

View file

@ -310,9 +310,11 @@ jobs:
if: ${{startsWith(matrix.os, 'macos')}}
working-directory: tnc
run: |
#python3 -m nuitka --enable-plugin=numpy --assume-yes-for-downloads --standalone daemon.py
#python3 -m nuitka --enable-plugin=numpy --assume-yes-for-downloads --standalone main.py
# remove .git folder from codec2 which causes app signing to fail
rm -r lib/codec2/.git
# now build tnc binaries
pyinstaller -y freedata.spec
# and to some final cleanup
cp -r -f dist/tnc/* dist/
rm -r dist/tnc