fork download
  1. #!/bin/bash
  2.  
  3. fetch_portable_urls(){
  4. declare -a get_latest=( "https://a...content-available-to-author-only...b.com/repos/sample_repo/sample_repo/releases/latest | grep \"browser_download_url.*AppImage\" | cut -d \\\" -f 4" \
  5. "https://a...content-available-to-author-only...b.com/repos/sample_repo_host/sample_repo_name/releases/latest | grep \"browser_download_url.*AppImage\" | cut -d \\\" -f 4"
  6. )
  7.  
  8. # for file in "${get_latest[@]}"; do
  9. # f=$(curl -L "$file")
  10. # echo $f
  11. # done
  12.  
  13. curl -L "${get_latest[@]}"
  14. }
Success #stdin #stdout 0.01s 5516KB
stdin
Standard input is empty
stdout
Standard output is empty