1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

windows build updater

This commit is contained in:
Andrew Simachev 2020-06-17 09:28:39 +03:00
parent 022e7c55f6
commit aaec585f27

View file

@ -10,12 +10,11 @@ arch="";
if [ "$platform" = "ubuntu-latest" ]; then
arch="linux";
fi;
if [ "$platform" = "macos-latest" ]; then
elif [ "$platform" = "macos-latest" ]; then
arch="darwin";
fi;
if [ "$platform" = "windows-latest" ]; then
elif [ "$platform" = "windows-latest" ]; then
arch="windows";
FILE="addon.zip"
fi;
if [ "$token" = "" ]; then
@ -44,7 +43,13 @@ curl -sL -H 'Accept: application/octet-stream' "https://$GITHUB/repos/$REPO/rele
printf "Done\n"
echo -n "Uncompressing... "
tar -zxf $FILE
if [ "$platform" = "windows-latest" ]; then
unzip $FILE
else
tar -zxf $FILE
fi;
printf "Done\n"
echo "Moving... "