varmd / wine-wayland

Wine-wayland allows playing DX9/DX11 and Vulkan games using pure wayland and Wine/DXVK.
729 stars 14 forks source link

Replace hardcoded browser list with xdg-open #61

Closed ghost closed 1 year ago

ghost commented 1 year ago

This pull request fixes this error from wineland:

$ wineland
wineland-civetweb: no process found
/usr/lib/wineland/ui/start-civetweb-local: line 18: quickbrowser: command not found
/usr/lib/wineland/ui/start-civetweb-local: line 18: x-www-browser: command not found
/usr/lib/wineland/ui/start-civetweb-local: line 18: firefox: command not found
/usr/lib/wineland/ui/start-civetweb-local: line 18: epiphany: command not found
CivetWeb V1.12 started on port(s) 18180 with web root [/usr/lib/wineland/ui/ui]
/usr/lib/wineland/ui/start-civetweb-local: line 18: konqueror: command not found
/usr/lib/wineland/ui/start-civetweb-local: line 18: chromium: command not found
/usr/lib/wineland/ui/start-civetweb-local: line 18: chromium-browser: command not found
/usr/lib/wineland/ui/start-civetweb-local: line 18: google-chrome: command not found
/usr/lib/wineland/ui/start-civetweb-local: line 18: gnome-web: command not found
/usr/lib/wineland/ui/start-civetweb-local: line 18: chrome: command not found
/usr/lib/wineland/ui/start-civetweb-local: line 18: falkon: command not found

this is for anyone who does not have any of the hardcoded browsers installed, or uses flatpak.

varmd commented 1 year ago

This adds a dependency on xdg-utils. So the commit should be changed to first check for the hardcoded browsers, and if none are found then use xdg-open .

ghost commented 1 year ago

moved to #66