diff --git a/src/app/Flash.jsx b/src/app/Flash.jsx index 54d891a..9eff506 100644 --- a/src/app/Flash.jsx +++ b/src/app/Flash.jsx @@ -1,6 +1,7 @@ import { useCallback } from 'react' import { Step, Error, useQdl } from '../utils/flash' +import { isLinux } from '../utils/platform' import bolt from '../assets/bolt.svg' import cable from '../assets/cable.svg' @@ -77,7 +78,7 @@ const errors = { }, [Error.LOST_CONNECTION]: { status: 'Lost connection', - description: 'The connection to your device was lost. Check that your cables are connected properly and try again.', + description: 'The connection to your device was lost. Unplug your device and try again.', icon: cable, }, [Error.DOWNLOAD_FAILED]: { @@ -109,6 +110,10 @@ const errors = { }, } +if (isLinux) { + errors[Error.LOST_CONNECTION].description += ' Did you forget to unbind the device from qcserial?' +} + function LinearProgress({ value, barColor }) { if (value === -1 || value > 100) value = 100