We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a729c commit 7ce0500Copy full SHA for 7ce0500
src/main-process/installStages.ts
@@ -10,7 +10,7 @@ export type InstallStageName = ValuesOf<typeof InstallStage>;
10
11
export interface InstallStageInfo {
12
stage: InstallStageName;
13
- progress: number; // 0-100
+ progress?: number; // 0-100, undefined for indeterminate
14
message?: string;
15
error?: string;
16
timestamp: number;
@@ -29,7 +29,7 @@ export function createInstallStageInfo(
29
): InstallStageInfo {
30
return {
31
stage,
32
- progress: options?.progress ?? 0,
+ progress: options?.progress,
33
message: options?.message,
34
error: options?.error,
35
timestamp: Date.now(),
0 commit comments