5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 06:20:48 +08:00
Commit Graph

4 Commits

Author SHA1 Message Date
Sean
9cafd85cda
fix: fallback to hardcoded Edge/Chrome/Firefox Windows browser paths if user's default browser no longer exists (#3262)
To reproduce:

- Use Windows
- Set your default browser to Firefox (Settings -> Apps -> Default Apps -> Web Browser)
- Rename your firefox.exe to something.else

The BrowserOpenURL before this commit silently fails.

The BrowserOpenURL after this commit tries to use a hardcoded fallback browser.
If successful, a warning message is logged.
If unsuccessful (default browser and fallback browsers fail), an error message is logged.

Co-authored-by: Sean <sean@malonetuning.com>
2024-03-24 17:09:27 +11:00
Lea Anthony
49629f6dc6
[mac] Fix build tags 2021-10-13 21:16:07 +11:00
Lea Anthony
b13d8ef9fa [mac] Guard browser.go 2021-09-28 19:44:12 +10:00
Lea Anthony
badacdd45b
[mac] Get wails CLI to compile 2021-09-19 17:25:23 +10:00