Skip to content

Commit

Permalink
Add node modules to local yarn make (#163)
Browse files Browse the repository at this point in the history
* Fix local make command.

* Bundle zipped python.
  • Loading branch information
robinjhuang authored Nov 2, 2024
1 parent 821f894 commit 36c1234
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions builder-debug.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { Configuration } from 'electron-builder';

const debugConfig: Configuration = {
files: ['package.json', 'README.md', 'src/**', '.vite/**'],
extraFiles: [{ from: './assets', to: process.platform === 'darwin' ? './Resources' : './resources' }],
files: ['node_modules', 'package.json', '.vite/**'],
extraResources: [
{ from: './assets/ComfyUI', to: 'ComfyUI' },
{ from: './assets/python.tgz', to: 'python.tgz' },
{ from: './assets/UI', to: 'UI' },
],
beforeBuild: './scripts/preMake.js',
win: {
icon: './assets/UI/Comfy_Logo.ico',
Expand Down

0 comments on commit 36c1234

Please sign in to comment.