Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bacdc28 commit d788ab9Copy full SHA for d788ab9
site/src/modules/apps/useAppLink.ts
@@ -56,10 +56,17 @@ export const useAppLink = (
56
(app.url.startsWith("jetbrains-gateway:") ||
57
app.url.startsWith("jetbrains:"));
58
59
+ // Check if this is a coder:// URL
60
+ const isCoderApp = app.url?.startsWith("coder:");
61
+
62
if (isJetBrainsApp) {
63
displayError(
64
`To use ${label}, you need to have JetBrains Toolbox installed.`,
65
);
66
+ } else if (isCoderApp) {
67
+ displayError(
68
+ `To use ${label} you need to have Coder Desktop installed`,
69
+ );
70
} else {
71
displayError(`${label} must be installed first.`);
72
}
0 commit comments