From 03e61880c70148a8a1a96e5f16da123f70be8506 Mon Sep 17 00:00:00 2001 From: Joey Ballentine Date: Sat, 14 Jan 2023 01:22:42 -0500 Subject: [PATCH] Fix splash screen progress indicators --- src/main/backend/setup.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/backend/setup.ts b/src/main/backend/setup.ts index fe4416b5de..5d8f634911 100644 --- a/src/main/backend/setup.ts +++ b/src/main/backend/setup.ts @@ -109,7 +109,7 @@ const getPythonInfo = async ( ? t('splash.downloadingPython', 'Downloading Integrated Python...') : t('splash.extractingPython', 'Extracting downloaded files...'), totalProgress: stage === 'download' ? 0.3 : 0.4, - statusProgress: percentage / 100, + statusProgress: percentage, }); } ); @@ -146,7 +146,7 @@ const getFfmpegInfo = async (token: ProgressToken) => { ? t('splash.downloadingFfmpeg', 'Downloading ffmpeg...') : t('splash.extractingFfmpeg', 'Extracting downloaded files...'), totalProgress: stage === 'download' ? 0.5 : 0.6, - statusProgress: percentage / 100, + statusProgress: percentage, }); }); } catch (error) {