Handbook
Glossary
find-kate-path ( -- path )
Vocabulary
editors
.
kate
Inputs
None
Outputs
path
an
object
Definition
USING:
system
;
IN:
editors.kate
HOOK:
find-kate-path
os
( -- path )
Methods
USING:
editors.kate
io.pathnames
io.standard-paths
kernel
system
;
M:
macos
find-kate-path
"org.kde.Kate"
find-native-bundle
[
"Contents/MacOS/kate"
append-path
]
[
f
]
if*
;
USING:
editors.kate
kernel
;
M:
object
find-kate-path
f
;
USING:
editors.kate
io.standard-paths
kernel
system
;
M:
windows
find-kate-path
{
"Kate"
}
"kate.exe"
find-in-applications
[
"kate.exe"
]
unless*
;