diff --git a/src/electron/src/views/OnboardingView.vue b/src/electron/src/views/OnboardingView.vue index 925608f6..a17c89b8 100644 --- a/src/electron/src/views/OnboardingView.vue +++ b/src/electron/src/views/OnboardingView.vue @@ -34,13 +34,14 @@ const availableSteps = ['welcome']; if (isMacOS === 'true' && requiresAnyPermission) { availableSteps.push('data-collection'); -} - -if (isMacOS === 'false') { +} else if (isMacOS === 'false') { availableSteps.push('study-trackers-started'); } if (goToStep === 'study-trackers-started') { + if (!availableSteps.includes('study-trackers-started')) { + availableSteps.push('study-trackers-started'); + } currentStep.value = availableSteps.indexOf('study-trackers-started'); } @@ -160,7 +161,7 @@ function startAllTrackers() {
To correctly run PersonalAnalytics, we collect data on your window switches and - titles. To continue, click Open System Settings and enable Accessibility + titles. To continue, click Grant Accessibility Access and enable Accessibility permission for PersonalAnalytics.
@@ -172,7 +173,7 @@ function startAllTrackers() { - Open Accessibility Settings + Grant Accessibility Access
To correctly run PersonalAnalytics, we collect data on your window switches and - titles. To continue, click Open System Settings and enable Screen Recording + titles. To continue, click Grant Screen Access and enable Screen Recording permission for PersonalAnalytics.
@@ -211,7 +212,7 @@ function startAllTrackers() { - Open Screen Settings + Grant Screen Access