server/scripts/fetch_internal_plugins.sh

17 lines
783 B
Bash
Raw Normal View History

#!/bin/sh
# Script used to fetch latest versions of internal plugins
2022-05-20 19:11:48 +00:00
# Plugins: CommandSpy, Extras, iControlU, ParticleTrails, Weapons
mkdir -p fetched_plugins
for download_url in https://nightly.link/kaboomserver/commandspy/workflows/main/master/CommandSpy.zip \
https://nightly.link/kaboomserver/extras/workflows/main/master/Extras.zip \
https://nightly.link/kaboomserver/icontrolu/workflows/main/master/iControlU.zip \
2022-05-20 19:11:48 +00:00
https://nightly.link/kaboomserver/particletrails/workflows/main/master/ParticleTrails.zip \
https://nightly.link/kaboomserver/weapons/workflows/main/master/Weapons.zip
do
curl -L $download_url > archive.zip
unzip -o archive.zip -d fetched_plugins
rm archive.zip
done