From 6d46259907ccf5c99cda63d556ca27c0cb772e69 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 17 Sep 2024 16:10:17 +0900 Subject: [PATCH] add url during publish. --- forge.config.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/forge.config.ts b/forge.config.ts index a3e51c30..06e7101f 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -79,8 +79,19 @@ const config: ForgeConfig = { }, }, makers: [ - new MakerSquirrel({ frameworkVersion: 'net481' }, ['win32']), - new MakerZIP({}, ['darwin', 'win32']), + new MakerSquirrel( + (arch) => ({ + remoteReleases: `https://comfyui-electron-releases.s3.us-west-2.amazonaws.com/win32/${arch}`, + frameworkVersion: 'net481', + }), + ['win32'] + ), + new MakerZIP( + (arch) => ({ + macUpdateManifestBaseUrl: `https://comfyui-electron-releases.s3.us-west-2.amazonaws.com/darwin/${arch}`, + }), + ['darwin', 'win32'] + ), // the forge build produces a "ComfyUI" bin, but the rpm/deb makers expect a "comfyui-electron" bin (matching the "name" in package.json). We override this below new MakerRpm({ options: {