mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2024-12-25 02:42:40 +00:00
357c505cc0
- Move InteractiveView to AppUI for use in TV, with OpenVPNCredentialsView - Move non-UI entities to AppLibrary (IAP, ExtendedTunnel, ProfileProcessor) - Take API out of CommonLibrary (tunnel extension does not need it) - Reorganize theme views/modifiers into separate files
16 lines
303 B
Bash
Executable File
16 lines
303 B
Bash
Executable File
#!/bin/bash
|
|
DESTINATION="Passepartout/Library/Sources/APILibrary/API"
|
|
API_VERSION="v5"
|
|
|
|
mkdir tmp
|
|
cd tmp
|
|
if [[ ! `git clone https://github.com/passepartoutvpn/api --depth 1` ]]; then
|
|
cd api
|
|
git pull
|
|
fi
|
|
cd ../..
|
|
|
|
rm -rf $DESTINATION
|
|
mkdir -p $DESTINATION
|
|
cp -rp tmp/api/$API_VERSION $DESTINATION
|