Skip to content

Commit

Permalink
changed sign command
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Oct 27, 2024
1 parent df1de46 commit 9221dbb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/signPython.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
python -m pip install --upgrade pip
wait
pip install comfy-cli
wait
ls
cd ..
cd assets
comfy --skip-prompt --here install --fast-deps --m-series --manager-url https://github.com/Comfy-Org/manager-core
wait
cd ComfyUI
cd ..
comfy --here standalone --platform macos
wait
comfy standalone --rehydrate
wait
rm -rf ComfyUI/custom_nodes/ComfyUI-Manager/.git
mkdir python2/
tar -xzf python.tgz -C python2/
rm python.tgz
echo Sign Libs and Bins
cd python2/python/
filelist=("lib/libpython3.12.dylib" "lib/python3.12/lib-dynload/_crypt.cpython-312-darwin.so" "bin/uv" "bin/uvx" "bin/python3.12")
for file in ${filelist[@]}; do codesign --sign 6698D856280DC1662A8E01E5B63428CB6D6651BB --force --timestamp --options runtime --entitlements ../../../scripts/entitlements.mac.plist "$file"; done
for file in ${filelist[@]}; do codesign --sign "Developer ID Application: Drip Artificial Inc" --force --timestamp --options runtime --entitlements ../../../scripts/entitlements.mac.plist "$file"; done
echo Rezip
cd ../..
mv python python3
Expand Down

0 comments on commit 9221dbb

Please sign in to comment.