Skip to content

Commit

Permalink
add url during publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Sep 17, 2024
1 parent 4ef1f8e commit 6d46259
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 6d46259

Please sign in to comment.