How can I open External Links?
- URI scheme “https” is not accepted
- URI scheme “http” is not accepted
I know this can be done. I am seeing other engineers make it happen.
Every link is not valid. Even adobe’s example is not valid.
The errors:
The Example
The Code
async function openDiscordLink() {
try{
console.log("opening discord link")
await shell.openExternal("https://www.adobe.com/", "develop message for the user consent dialog");
// shell.openExternal('https://discord.gg/J6JFxqqgWZ/');
} catch (e) {
console.error(e);
}
}
How can I open the external links?