Augument IDB installation instructions for intern users

Reviewed By: passy

Differential Revision: D37994214

fbshipit-source-id: bd36abf1ed024ca1f18fcc5297108e4ca333c578
This commit is contained in:
Andrey Goncharov
2022-07-20 06:03:38 -07:00
committed by Facebook GitHub Bot
parent f3cb9de5c9
commit 55b7ef934c
2 changed files with 13 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ import * as fs from 'fs';
import * as path from 'path';
import type {FlipperDoctor} from 'flipper-common';
import * as fs_extra from 'fs-extra';
import {getIdbInstallationInstructions} from './fb-stubs/idbInstallationInstructions';
export function getHealthchecks(): FlipperDoctor.Healthchecks {
return {
@@ -246,7 +247,7 @@ export function getHealthchecks(): FlipperDoctor.Healthchecks {
);
const hasProblem = result.hasProblem;
const message = hasProblem
? `IDB is required to use Flipper with iOS devices. It can be installed from https://github.com/facebook/idb and configured in Flipper settings. You can also disable physical iOS device support in settings. Current setting: ${settings.idbPath} isn't a valid IDB installation.`
? getIdbInstallationInstructions(settings.idbPath)
: 'Flipper is configured to use your IDB installation.';
return {
hasProblem,