Files
studio-desktop/builder-debug.config.ts
Robin HuangandGitHub 318e2d62a0 Verify electron build after yarn:make (#642)
* Verify build for mac and windows.

* Install uv as part of make process.

* Remove extra download uv command.

* Fix command.

* add .exe suffix for windows
2025-01-16 17:09:12 -08:00

29 lines
694 B
TypeScript

import { Configuration } from 'electron-builder';
const debugConfig: Configuration = {
files: ['node_modules', 'package.json', '.vite/**'],
extraResources: [
{ from: './assets/ComfyUI', to: 'ComfyUI' },
{ from: './assets/uv', to: 'uv' },
{ from: './assets/UI', to: 'UI' },
],
beforeBuild: './scripts/preMake.js',
win: {
icon: './assets/UI/Comfy_Logo.ico',
target: 'zip',
signtoolOptions: null,
},
mac: {
icon: './assets/UI/Comfy_Logo.icns',
target: 'zip',
identity: null,
},
linux: {
icon: './assets/UI/Comfy_Logo_x256.png',
target: 'appimage',
},
asarUnpack: ['**/node_modules/node-pty/**/*'],
};
export default debugConfig;