Skip to content
Discussion options

You must be logged in to vote

It's working now, I did some fusion of the pointerdown as well as the click event in order to block the default for the link, thanks for suggesting the opener API I totally missed that, I was actually looking at the shell thank goodness that we have that ahahaha.

To anyone who will have the same issue as me, I used this one, it did take a little bit of digging on the docs to find this one:

import { openUrl } from '@tauri-apps/plugin-opener';

/*Take note use the openUrl function/method*/

// opens the given URL on the default browser:
await openUrl('https://github.com/tauri-apps/tauri');

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@stackedCG
Comment options

@stackedCG
Comment options

@FabianLars
Comment options

@stackedCG
Comment options

Answer selected by stackedCG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants