Skip to content

Commit

Permalink
Change Main.py path
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Aug 31, 2024
1 parent ad6d7ec commit 345cf95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
run: ulimit -n 65240 && ulimit -a && npm run publish -- --arch="arm64"
run: npm run publish -- --arch="arm64"
- name: Check Notarization
run: |
spctl -a -vvv -t install "out/ComfyUI-darwin-arm64/ComfyUI.app"
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (require('electron-squirrel-startup')) {
let pythonProcess: ChildProcess | null = null;
const host = '127.0.0.1'; // Replace with the desired IP address
const port = 8188; // Replace with the port number your server is running on
const scriptPath = 'assets/ComfyUI/main.py';
const scriptPath = path.join(process.resourcesPath, 'ComfyUI', 'main.py');

const packagedComfyUIExecutable = process.platform == 'win32' ? 'run_cpu.bat' : process.platform == 'darwin' ? 'ComfyUI' : 'ComfyUI';

Expand Down

0 comments on commit 345cf95

Please sign in to comment.