5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 04:29:35 +08:00
wails/v2/internal/frontend/desktop/windows
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
..
win32 [windows] Disable frameless decorations during fullscreen (#2288) 2023-01-11 15:22:48 +01:00
winc Implement Single instance lock feature with passing arguments to initial instance (#2951) 2023-10-23 21:31:56 +11:00
browser.go 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
clipboard.go Add common text clipboard support (#2228) 2023-01-05 16:41:07 +11:00
dialog_test.go fix: fix go test errors (#2169) 2022-12-06 06:45:06 +11:00
dialog.go [v2/Windows]Set default extension for save file dialog (#3205) 2024-01-17 22:35:15 +11:00
frontend.go feat: add windows options supports DisablePinchZoom configuration(#2021) (#3115) 2023-12-15 20:21:50 +11:00
keys.go Fix up dev. Pull in go-webview and winc 2022-03-29 21:45:16 +11:00
menu.go Fix up dev. Pull in go-webview and winc 2022-03-29 21:45:16 +11:00
screen.go [v2] Introduce size and physical size of screens (#2856) 2023-08-26 10:11:01 +10:00
single_instance.go v2 [#3133] SingleInstanceData: Fill missing WD as is (#3154) 2024-01-04 05:26:24 +11:00
theme.go fix: fix go test errors (#2169) 2022-12-06 06:45:06 +11:00
window.go [chore] Use webview2 package (#2687) 2023-06-10 17:04:31 +10:00