diff --git a/src/app/constants.ts b/src/app/constants.ts index 01d8bba9..d85545af 100644 --- a/src/app/constants.ts +++ b/src/app/constants.ts @@ -46,7 +46,7 @@ export const pybricksUsbDfuTroubleshootingUrl = 'https://github.com/pybricks/support/discussions/688'; export const pybricksUsbLinuxUdevRulesUrl = - 'https://github.com/pybricks/support/discussions/688#discussioncomment-3239099'; + 'https://pybricks.com/projects/tutorials/dev/tools/linux/'; /** Pybricks copyright statement. */ export const pybricksCopyright = 'Copyright (c) 2020-2023 The Pybricks Authors'; diff --git a/src/firmware/alerts/NoDfuHub.tsx b/src/firmware/alerts/NoDfuHub.tsx index f972c5da..f027acd1 100644 --- a/src/firmware/alerts/NoDfuHub.tsx +++ b/src/firmware/alerts/NoDfuHub.tsx @@ -3,7 +3,10 @@ import { AnchorButton, Button, Intent } from '@blueprintjs/core'; import React from 'react'; -import { pybricksUsbDfuTroubleshootingUrl } from '../../app/constants'; +import { + pybricksUsbDfuTroubleshootingUrl, + pybricksUsbLinuxUdevRulesUrl, +} from '../../app/constants'; import ExternalLinkIcon from '../../components/ExternalLinkIcon'; import type { CreateToast } from '../../toasterTypes'; import { isLinux, isWindows } from '../../utils/os'; @@ -30,6 +33,16 @@ const NoDfuHub: React.VoidFunctionComponent = ({ {i18n.translate('noDfuHub.installUsbDriverButton')} )} + {isLinux() && ( + + {i18n.translate('noDfuHub.configureUdevRulesButton')} + + + )}