From 924f235c313ca4d9dee00422ac8488ceee668fd8 Mon Sep 17 00:00:00 2001 From: Sarah Fortune Date: Sat, 19 Jul 2025 17:03:06 -0700 Subject: [PATCH] Change the script scripts/runclinecore.sh to only install and run cline-core (#5049) -and not build the zip file. --- scripts/runclinecore.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/runclinecore.sh b/scripts/runclinecore.sh index 54f9188e0c..5e035dbef2 100755 --- a/scripts/runclinecore.sh +++ b/scripts/runclinecore.sh @@ -1,21 +1,21 @@ #!/usr/bin/env bash set -eu #x -# This compiles the cline-core app, installs it to the user's home directory, -# and runs the service. +# This installs the cline-core app to the user's home directory, +# and starts the service. CORE_DIR=~/.cline/core INSTALL_DIR=$CORE_DIR/0.0.1 -# Build cline core -npm run compile-standalone +ZIP_FILE=standalone.zip +ZIP=dist-standalone/${ZIP_FILE} # Remove old unpacked versions to force reinstall rm -rf $CORE_DIR/* || true mkdir -p $INSTALL_DIR -cp dist-standalone/standalone.zip $INSTALL_DIR +cp $ZIP $INSTALL_DIR cd $INSTALL_DIR -unp standalone.zip > /dev/null +unp $ZIP_FILE > /dev/null pkill -f cline-core.js || true -NODE_PATH=./node_modules node cline-core.js +NODE_PATH=./node_modules DEV_WORKSPACE_FOLDER=/tmp/ node cline-core.js