5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 05:00:31 +08:00
wails/v2/internal/frontend/desktop
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
..
darwin fix: fallback to hardcoded Edge/Chrome/Firefox Windows browser paths if user's default browser no longer exists (#3262) 2024-03-24 17:09:27 +11:00
linux fix: fallback to hardcoded Edge/Chrome/Firefox Windows browser paths if user's default browser no longer exists (#3262) 2024-03-24 17:09:27 +11:00
windows fix: fallback to hardcoded Edge/Chrome/Firefox Windows browser paths if user's default browser no longer exists (#3262) 2024-03-24 17:09:27 +11:00
desktop_darwin.go [linux] Better Go 1.16 support 2022-01-31 21:21:48 +11:00
desktop_linux.go [linux] get compiling working 2021-11-13 17:06:48 -08:00
desktop_windows.go [linux] Better Go 1.16 support 2022-01-31 21:21:48 +11:00