Deprecate matedialog (linux).
This commit is contained in:
parent
0c7d5c4c8b
commit
92d793d294
2 changed files with 3 additions and 3 deletions
|
@ -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))
|
* 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`
|
* JavaScript is easier to template with `html/template`
|
||||||
* on other UNIXes:
|
* on other UNIXes:
|
||||||
* wraps either one of `matedialog`, `qarma`, `zenity`
|
* wraps either one of `qarma`, `zenity`, `matedialog`
|
||||||
* in that order of preference, most to least specific
|
* in that order of preference
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
var tool, path string
|
var tool, path string
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
for _, tool = range [3]string{"matedialog", "qarma", "zenity"} {
|
for _, tool = range [3]string{"qarma", "zenity", "matedialog"} {
|
||||||
path, _ = exec.LookPath(tool)
|
path, _ = exec.LookPath(tool)
|
||||||
if path != "" {
|
if path != "" {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue