-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4cc80f6
commit 3d38221
Showing
17 changed files
with
376 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Build Comfycli for Macos | ||
description: Download, install, and set up Comfy | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.12' | ||
- name: Make Standalone | ||
shell: sh | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install comfy-cli | ||
cd assets | ||
comfy --skip-prompt --workspace ./ComfyUI install --fast-deps --m-series --skip-manager | ||
comfy --workspace ./ComfyUI standalone --platform macos | ||
comfy standalone --rehydrate | ||
ls | ||
# - name: Sign Wheels | ||
# uses: ./.github/actions/build/macos/signwheel |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Setup Apple Signing | ||
description: Setup everything to sign and notarize | ||
inputes: | ||
CERTIFICATE_OSX_APPLICATION: | ||
required: true | ||
type: string | ||
CERTIFICATE_PASSWORD: | ||
required: true | ||
type: string | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Add MacOS certs | ||
shell: sh | ||
run: cd scripts && chmod +x add-osx-cert.sh && ./add-osx-cert.sh | ||
env: | ||
CERTIFICATE_OSX_APPLICATION: ${{ inputs.CERTIFICATE_OSX_APPLICATION }} | ||
CERTIFICATE_PASSWORD: ${{ inputs.CERTIFICATE_PASSWORD }} | ||
- name: Set ID | ||
shell: sh | ||
run: | | ||
SIGN_ID=$(security find-identity -p codesigning -v | grep -E "Developer ID" | sed -n -e 's/.* "/"/p' | tr -d '""') | ||
echo "SIGN_ID=$SIGN_ID" >> $GITHUB_ENV | ||
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Sign Wheels | ||
description: Unpack Sign Wheels and then RePack | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Unpack | ||
shell: sh | ||
run: | | ||
cd ./assets/python/wheels | ||
find . -name '*.whl' -exec sh -c 'unzip -d "${1%.*}" "$1"' _ {} \; | ||
find . -name "*.whl" -type f -delete | ||
- name: Gather and Sign | ||
shell: sh | ||
run: | | ||
cd ./assets/python/wheels | ||
find . -name "*so" -o -name "*.dylib" -print0 | while read -d $'\0' file; do codesign --sign 6698D856280DC1662A8E01E5B63428CB6D6651BB --force --timestamp --options runtime --entitlements ../../entitlements.mac.plist "$file"; done | ||
- name: Repack | ||
shell: sh | ||
run: | | ||
for i in */; do zip -r "${i%/}.whl" "$i"; done |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# .github/workflows/release.yml | ||
# .github/workflows/publish_windows.yml | ||
name: Release Windows app | ||
|
||
on: | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
"description": "The best modular GUI to run AI diffusion models.", | ||
"main": ".vite/build/main.js", | ||
"packageManager": "[email protected]", | ||
"type": "commonjs", | ||
"scripts": { | ||
"clean": "rimraf .vite dist out", | ||
"clean:assets": "rimraf assets/ComfyUI assets/cpython*.tar.gz assets/python assets/override.txt assets/python.tgz assets/requirements.*", | ||
|
@@ -56,7 +55,7 @@ | |
"name": "Robin Huang", | ||
"email": "[email protected]" | ||
}, | ||
"license": "GPL-3.0-only", | ||
"license": "GPL", | ||
"dependencies": { | ||
"adm-zip": "^0.5.15", | ||
"axios": "^1.7.3", | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cp -f scripts/shims/utils.js node_modules/@electron/osx-sign/dist/cjs/util.js | ||
|
||
sed -i '' 's/packageOpts.quiet = true/packageOpts.quiet = false/g' "node_modules/@electron-forge/core/dist/api/package.js" |
Oops, something went wrong.