#!/bin/bash

# Define the URL and the destination folder
URL="https://chatbot.garam.io/addon/addon.js"
DEST_FOLDER="assets"
``
# Download the file using curl
curl -O $URL

# Extract the filename from the URL
FILENAME=$(basename $URL)

# Move the file to the destination folder
mv $FILENAME $DEST_FOLDER

echo "File moved to $DEST_FOLDER"

zip -r garam-livechat-chatbot.zip . -x ".DS_Store" -x "__MACOSX" -x ".idea/*" -x  -x ".git/*" -x "prepare-deployment.sh" -x "garam-livechat-chatbot.zip" -x "*.gitignore"