mirror of
https://github.com/rizzatti/dash.vim.git
synced 2026-03-03 18:24:03 +01:00
18 lines
282 B
Bash
Executable File
18 lines
282 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
APPLESCRIPT=`cat <<EOF
|
|
try
|
|
tell application "Finder"
|
|
set appname to name of application file id "com.kapeli.dash"
|
|
return 1
|
|
end tell
|
|
on error err_msg number err_num
|
|
return 0
|
|
end try
|
|
EOF`
|
|
|
|
retcode=`osascript -e "$APPLESCRIPT"`
|
|
exit $retcode
|