mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-10 16:56:31 +00:00
457f2a157a
* Desktop branch merged into develop * Fixed review notes by yenda
8 lines
328 B
Bash
Executable File
8 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
|
|
filename=$1
|
|
#fileid="1yPTGcPe5DZd3ubzAgUBp3aAQRAOK9eKQ"
|
|
fileid=$2
|
|
rm -rf ./cookie
|
|
curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null
|
|
curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename} |