sindresorhus/get-windows
在 GitHub 查看Silently fails under Linux if xwininfo/xprop is missing
Open
#75 建立於 2020年7月10日
enhancementhelp wanted
描述
Fails without further notice if xprop or xwininfo because they are either not installed, or not present in the PATH variable. If you ask me the promise should fail with a proper error when something fails (or throw an Error for the sync variant). The current behaviour makes debugging the root of the problem quite difficult.
Also you might want to add that there is no Wayland support at the moment to the documentation especially considering the increasing popularity of Wayland.
I might PR this myself when I find the time.