diff --git a/site/src/modules/apps/useAppLink.ts b/site/src/modules/apps/useAppLink.ts index aafd048a7e674..daad0d493e2c7 100644 --- a/site/src/modules/apps/useAppLink.ts +++ b/site/src/modules/apps/useAppLink.ts @@ -56,10 +56,17 @@ export const useAppLink = ( (app.url.startsWith("jetbrains-gateway:") || app.url.startsWith("jetbrains:")); + // Check if this is a coder:// URL + const isCoderApp = app.url?.startsWith("coder:"); + if (isJetBrainsApp) { displayError( `To use ${label}, you need to have JetBrains Toolbox installed.`, ); + } else if (isCoderApp) { + displayError( + `To use ${label} you need to have Coder Desktop installed`, + ); } else { displayError(`${label} must be installed first.`); }