Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions CorridorKey_DRAG_CLIPS_HERE_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

cd "$(dirname "$0")"

# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
LOCAL_SCRIPT="$SCRIPT_DIR/corridorkey_cli.py"

# SAFETY CHECK: Ensure a folder was provided as an argument
if [ -z "$1" ]; then
echo "[ERROR] No target folder provided."
Expand All @@ -28,16 +24,9 @@ TARGET_PATH="$1"
# Strip trailing slash if present
TARGET_PATH="${TARGET_PATH%/}"

# Ensure uv is available before attempting to run
# Install uv before running
if ! command -v uv &> /dev/null; then
echo "[ERROR] 'uv' is not installed or not on PATH."
echo ""
echo "Install uv by running:"
echo " curl -LsSf https://astral.sh/uv/install.sh | sh"
echo ""
echo "Then reopen your terminal and try again."
read -p "Press enter to exit..."
exit 1
curl -LsSf https://astral.sh/uv/install.sh | sh
fi

echo "Starting Corridor Key locally..."
Expand Down