improve session opening behavior

This commit is contained in:
Morgan Wattiez
2019-08-15 14:11:38 +02:00
parent 5d861c6390
commit 9d36592dac
3 changed files with 5 additions and 6 deletions

View File

@ -12,7 +12,7 @@ tell application "System Events"
click
if exists menu item "Connecter" of menu 1 then
click menu item "Connecter" of menu 1
return "Connecting..."
return "Connecting to Bluetooth device..."
else
key code 53 -- Close main BT drop down if Connect wasn't present
return "Connect menu was not found, are you already connected?"

View File

@ -1,7 +1,7 @@
docker_app=$(find /Applications/ \
-name "Docker.app" -maxdepth 1 -mindepth 1 -type d)
if [ -z "$docker_app" ]; then
echo "Installation of Docker for Mac"
echo 'Install Docker Desktop for Mac OS X'
curl -o ~/Downloads/Docker.dmg -sL https://download.docker.com/mac/stable/Docker.dmg
hdiutil verify ~/Downloads/Docker.dmg
hdiutil attach ~/Downloads/Docker.dmg -nobrowse