diff options
author | dvs1 | 2024-10-22 13:51:59 +1000 |
---|---|---|
committer | dvs1 | 2024-10-22 13:51:59 +1000 |
commit | e4d51e4c5904895dd599d099e857ccebdf1714fc (patch) | |
tree | feffbbef3f4eed362eeb347f31dd769ba85e3cb2 /test_.lua | |
parent | Convert example user script to new exe stuff. (diff) | |
download | JackOnAllDevices-e4d51e4c5904895dd599d099e857ccebdf1714fc.zip JackOnAllDevices-e4d51e4c5904895dd599d099e857ccebdf1714fc.tar.gz JackOnAllDevices-e4d51e4c5904895dd599d099e857ccebdf1714fc.tar.bz2 JackOnAllDevices-e4d51e4c5904895dd599d099e857ccebdf1714fc.tar.xz |
Lots of little tweaks about how _ works.
Diffstat (limited to '')
-rwxr-xr-x | test_.lua | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -74,10 +74,10 @@ end | |||
74 | 74 | ||
75 | 75 | ||
76 | local GUI = 'qjackctl' | 76 | local GUI = 'qjackctl' |
77 | if _.exists'catia' then GUI = 'catia' end | 77 | if _.runnable'catia' then GUI = 'catia' end |
78 | 78 | ||
79 | local speaker = 'espeak' | 79 | local speaker = 'espeak' |
80 | if _.exists'espeak-ng' then speaker = 'espeak-ng' end | 80 | if _.runnable'espeak-ng' then speaker = 'espeak-ng' end |
81 | 81 | ||
82 | 82 | ||
83 | 83 | ||
@@ -114,3 +114,5 @@ print(__'exit 42':log():show():Do().status) | |||
114 | print(__'return 42':log():show():Do().status) | 114 | print(__'return 42':log():show():Do().status) |
115 | print(__'command NoSuchCommand':log():show():Do().status) | 115 | print(__'command NoSuchCommand':log():show():Do().status) |
116 | 116 | ||
117 | __'qpdfview':forkOnce() | ||
118 | __'qpdfview':forkOnce() | ||