5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 00:22:57 +08:00
wails/v2/internal/frontend/desktop/darwin
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
..
AppDelegate.h Fix single instance lock for macOS sandbox app (#3029) 2023-11-05 14:10:01 +11:00
AppDelegate.m [v2/Mac] Handle application terminate (#3157) 2024-01-08 08:08:04 +11:00
Application.h Add disable zoom on mac (#3289) 2024-03-02 15:47:59 +11:00
Application.m Add disable zoom on mac (#3289) 2024-03-02 15:47:59 +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
callbacks.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
calloc.go Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
clipboard.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
CustomProtocol.h Implement custom protocol association support (#3000) 2023-11-02 20:26:05 +11:00
CustomProtocol.m Implement custom protocol association support (#3000) 2023-11-02 20:26:05 +11:00
dialog.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
frontend.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
inspector_dev.go Add better macos guard for elementFullscreenEnabled (#3111) 2023-12-10 10:12:14 +11:00
inspector.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
main.m Add disable zoom on mac (#3289) 2024-03-02 15:47:59 +11:00
menu.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
menuitem.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
message.h [assetServer, darwin] Use AssetServer native WKWebView request handling (#2283) 2023-01-16 13:02:18 +01:00
Role.h [v2, darwin] Add some missing default shortcuts (#2586) 2023-04-20 12:38:32 +02:00
screen.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
single_instance.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
WailsAlert.h [mac] Improve string/memory handling, dialog icon -> []byte 2021-10-31 08:50:14 +11:00
WailsAlert.m Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
WailsContext.h Add disable zoom on mac (#3289) 2024-03-02 15:47:59 +11:00
WailsContext.m Add disable zoom on mac (#3289) 2024-03-02 15:47:59 +11:00
WailsMenu.h [mac] Improve string/memory handling, dialog icon -> []byte 2021-10-31 08:50:14 +11:00
WailsMenu.m [v2, darwin] Add some missing default shortcuts (#2586) 2023-04-20 12:38:32 +02:00
WailsMenuItem.h [mac] menu support 2021-10-30 09:51:46 +11:00
WailsMenuItem.m Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
window.go Add disable zoom on mac (#3289) 2024-03-02 15:47:59 +11:00
WindowDelegate.h [mac] Fix fullscreen / start fullscreen 2021-11-23 20:06:56 +11:00
WindowDelegate.m Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00