Deprecate matedialog (linux).

This commit is contained in:
Nuno Cruces 2020-01-10 02:14:50 +00:00
parent 0c7d5c4c8b
commit 92d793d294
2 changed files with 3 additions and 3 deletions

View file

@ -36,5 +36,5 @@ Why reinvent this particular wheel?
* only dependency is `osascript` (with [JXA](https://developer.apple.com/library/archive/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/Introduction.html))
* JavaScript is easier to template with `html/template`
* on other UNIXes:
* wraps either one of `matedialog`, `qarma`, `zenity`
* in that order of preference, most to least specific
* wraps either one of `qarma`, `zenity`, `matedialog`
* in that order of preference

View file

@ -13,7 +13,7 @@ import (
var tool, path string
func init() {
for _, tool = range [3]string{"matedialog", "qarma", "zenity"} {
for _, tool = range [3]string{"qarma", "zenity", "matedialog"} {
path, _ = exec.LookPath(tool)
if path != "" {
return