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:
parent
022e7c55f6
commit
aaec585f27
1 changed files with 10 additions and 5 deletions
15
update.sh
15
update.sh
|
@ -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... "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue