mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-01 16:50:10 +00:00
added (hacky) bundle without LFS reuirement
This commit is contained in:
parent
f79c3f10da
commit
dd46d67573
@ -14,6 +14,27 @@ if not exist docker-compose.yml (
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
REM Check and download Chrome bundle if not present
|
||||
echo Checking Chrome bundle...
|
||||
if not exist chrome_bundle\chrome136 (
|
||||
echo Chrome bundle not found. Downloading...
|
||||
if not exist chrome_bundle mkdir chrome_bundle
|
||||
curl -L https://github.com/tcsenpai/agenticSeek/releases/download/utility/chrome136.zip -o %TEMP%\chrome136.zip
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo Error: Failed to download Chrome bundle
|
||||
exit /b 1
|
||||
)
|
||||
powershell -Command "Expand-Archive -Path '%TEMP%\chrome136.zip' -DestinationPath 'chrome_bundle' -Force"
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo Error: Failed to extract Chrome bundle
|
||||
exit /b 1
|
||||
)
|
||||
del %TEMP%\chrome136.zip
|
||||
echo Chrome bundle downloaded and extracted successfully
|
||||
) else (
|
||||
echo Chrome bundle already exists
|
||||
)
|
||||
|
||||
REM Stop only containers in our project's network
|
||||
echo Stopping project containers...
|
||||
docker-compose down
|
||||
|
@ -63,6 +63,27 @@ if [ ! -f "docker-compose.yml" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Download and extract Chrome bundle if not present
|
||||
echo "Checking Chrome bundle..."
|
||||
if [ ! -d "chrome_bundle/chrome136" ]; then
|
||||
echo "Chrome bundle not found. Downloading..."
|
||||
mkdir -p chrome_bundle
|
||||
curl -L https://github.com/tcsenpai/agenticSeek/releases/download/utility/chrome136.zip -o /tmp/chrome136.zip
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: Failed to download Chrome bundle"
|
||||
exit 1
|
||||
fi
|
||||
unzip -q /tmp/chrome136.zip -d chrome_bundle/
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: Failed to extract Chrome bundle"
|
||||
exit 1
|
||||
fi
|
||||
rm /tmp/chrome136.zip
|
||||
echo "Chrome bundle downloaded and extracted successfully"
|
||||
else
|
||||
echo "Chrome bundle already exists"
|
||||
fi
|
||||
|
||||
# Stop only containers in our project's network
|
||||
echo "Stopping project containers..."
|
||||
$COMPOSE_CMD down
|
||||
|
Loading…
x
Reference in New Issue
Block a user