Skip to content

Commit

Permalink
Lower the amount of the progress bar that downloading python & ffmpeg…
Browse files Browse the repository at this point in the history
… uses (#2758)
  • Loading branch information
joeyballentine authored Apr 8, 2024
1 parent b148981 commit 7ba2ea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/gui/main-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ export const createMainWindow = async (args: OpenArguments, settings: ChainnerSe
try {
registerEventHandlerPreSetup(mainWindow, args, settings);
const backend = await createBackend(
SubProgress.slice(progressController, 0, 0.5),
SubProgress.slice(progressController, 0, 0.25),
args,
settings
);
Expand All @@ -509,7 +509,7 @@ export const createMainWindow = async (args: OpenArguments, settings: ChainnerSe
mainWindow.webContents.send('backend-started');
});

const backendStatusProgressSlice = SubProgress.slice(progressController, 0.5, 0.95);
const backendStatusProgressSlice = SubProgress.slice(progressController, 0.25, 0.95);
sse.addEventListener('backend-status', (e: MessageEvent<string>) => {
if (e.data) {
const data = JSON.parse(e.data) as BackendEventMap['backend-status'];
Expand Down

0 comments on commit 7ba2ea4

Please sign in to comment.