From 9e6266406e64f69791526c5acbcdc2c5f66db24a Mon Sep 17 00:00:00 2001 From: hahnec Date: Wed, 20 Mar 2024 01:44:53 +0100 Subject: [PATCH] fix(cp): copy libs into macos app package --- plenopticam/scripts/bundling/pyinst2app_gh.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plenopticam/scripts/bundling/pyinst2app_gh.sh b/plenopticam/scripts/bundling/pyinst2app_gh.sh index 17afdcd..4f6398d 100755 --- a/plenopticam/scripts/bundling/pyinst2app_gh.sh +++ b/plenopticam/scripts/bundling/pyinst2app_gh.sh @@ -57,6 +57,10 @@ sudo cp -r ./docs ./dist/plenopticam.app/Contents/Resources/ sudo mkdir -p ./dist/plenopticam.app/Contents/Resources/gui/ sudo cp -r ./plenopticam/gui/icns ./dist/plenopticam.app/Contents/Resources/gui/ +# move tk-tcl lib to package +sudo cp /usr/local/lib/libtk8.6.dylib ./dist/plenopticam.app/Contents/library/ +sudo cp /usr/local/lib/libtcl8.6.dylib ./dist/plenopticam.app/Contents/library/ + # certificate signature sudo codesign --deep --signature-size 9400 -f -s "hahnec" ./dist/plenopticam.app