passepartout-apple/ci/update-bundled-api.sh
2024-11-27 19:27:50 +01:00

13 lines
278 B
Bash
Executable File

#!/bin/bash
SOURCE=".api"
DESTINATION="Passepartout/Library/Sources/CommonAPI/API"
API_VERSION="v5"
rm -rf $SOURCE
git clone https://github.com/passepartoutvpn/api --depth 1 $SOURCE
rm -rf $DESTINATION
mkdir -p $DESTINATION
mv $SOURCE/$API_VERSION $DESTINATION
rm -rf $SOURCE