AiursoftWeb / Kahla.App

Kahla is a cross-platform business messaging app.
https://www.kahla.app
MIT License
415 stars 85 forks source link

Open some page in default browser #204

Closed Anduin2017 closed 5 years ago

Anduin2017 commented 5 years ago

https://github.com/electron/electron/blob/master/docs/api/shell.md#shellopenexternalurl

When there was a new version in Kahla, we need to open the download page.

When the user sends a link and other users click it, we need to open it.

In that cases, if Kahla is running in electron it will open the page in electron, not in the default browser. That was not expected.

ganlvtech commented 5 years ago

You can have a try to drag a url to electron. It will go to that page. This is really common if you using default setting for electron.

Anduin2017 commented 5 years ago

The integrated browser in electron seems very weak. That it even could not download the latest Kahla App. So we have to use the default browser to open it.