18 lines
520 B
Bash
Executable File
18 lines
520 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# ---------------------------------------------------------
|
|
# A simple macOS script to launch the ADB Unlock GUI app.
|
|
# ---------------------------------------------------------
|
|
|
|
# 1) Find the directory of this script
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
# 2) Move into that directory
|
|
cd "$SCRIPT_DIR"
|
|
|
|
# 3) Use python3 (make sure python3 is installed and on your PATH)
|
|
PYTHON=$(which python3)
|
|
|
|
# 4) Run your Python script (adjust the file name if different)
|
|
"$PYTHON" adb-gui.py
|