5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 15:11:53 +08:00
wails/v2/internal/frontend/desktop/linux
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
..
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
calloc.go Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
clipboard.go Add common text clipboard support (#2228) 2023-01-05 16:41:07 +11:00
dialog.go Support message dialog 2022-01-25 16:27:39 -06:00
frontend.go Implement Single instance lock feature with passing arguments to initial instance (#2951) 2023-10-23 21:31:56 +11:00
gtk.go Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
invoke.go [v2, linux] Improve switching to main thread for callbacks (#1392) 2022-05-31 20:28:37 +10:00
keys.go fix: avoid app crashing when the Linux GTK key is empty (#2672) 2023-05-25 18:40:37 +10:00
menu.go Support MenuUpdateApplicationMenu 2022-01-29 10:13:29 +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
webkit2.go [assetserver] Add linux platform implementation (#2543) 2023-03-31 10:08:31 +02:00
window.c [v2] Devtools tag doesn't enable default context-menu (#2923) 2023-09-26 07:43:18 +10:00
window.go linux: workaround for #2977 (#3027) 2023-11-04 18:03:12 +11:00
window.h Devtools hotkey (#2915) 2023-09-19 05:56:14 +10:00