diff options
Diffstat (limited to 'scripts/run.sh')
| -rwxr-xr-x | scripts/run.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/run.sh b/scripts/run.sh new file mode 100755 index 0000000..c94055a --- /dev/null +++ b/scripts/run.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +ROOT_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)" + +cd "${ROOT_DIR}" + +if [ ! -d "${ROOT_DIR}/Bubomb.app" ]; then + echo "💣 Bubomb.app not found. Building now..." + bash "${SCRIPT_DIR}/build_app.sh" +fi + +echo "🚀 Launching Bubomb..." +open "${ROOT_DIR}/Bubomb.app" +echo "💥 Bubomb is now active in your macOS menu bar!" |
