-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Todesktop - Windows Mac Build/Sign Complete (#133)
- Loading branch information
Showing
10 changed files
with
275 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
python -m pip install --upgrade pip | ||
pip install comfy-cli | ||
cd ../.. | ||
echo $(dirname $0) | ||
python -m pip install --upgrade pip >/dev/null | ||
wait | ||
pip install comfy-cli >/dev/null | ||
wait | ||
ls | ||
cd assets | ||
comfy --skip-prompt --here install --fast-deps --m-series --manager-url https://github.com/Comfy-Org/manager-core | ||
comfy --skip-prompt --here install --fast-deps --m-series --manager-url https://github.com/Comfy-Org/manager-core >/dev/null | ||
wait | ||
cd ComfyUI | ||
cd .. | ||
comfy --here standalone --platform macos | ||
comfy --here standalone --platform macos | ||
wait | ||
comfy standalone --rehydrate | ||
rmdir ComfyUI/custom_nodes/ComfyUI-Manager/.git | ||
wait | ||
rm -rf ComfyUI/custom_nodes/ComfyUI-Manager/.git | ||
mkdir python2/ | ||
tar -xzf python.tgz -C python2/ | ||
rm python.tgz | ||
find . -type l ! -exec test -e {} \; -delete | ||
wait | ||
find . -name '*.tar.gz' -delete | ||
wait | ||
ls | ||
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 | ||
echo Rezip | ||
cd ../.. | ||
mv python python3 | ||
mv python2/python python | ||
tar -czf python.tgz python/ | ||
mkdir output | ||
rm -rf python2 | ||
rm -rf python3 | ||
cd 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 mkdir -p `dirname ../output/$file` && mv "$file" ../output/"$file"; done | ||
cd .. | ||
rmdir ./.git | ||
echo Rezip | ||
tar -czf python.tgz python/ | ||
rm -rf python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.