Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
asos-edgeorge committed Oct 21, 2023
1 parent cd1d10f commit 1fca838
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions download_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ mkdir -p "_decks/$2/img/"

filename="_decks/$2/img/$3.png"

if [ ! -f "$filename" ]; then

if [ ! -f "$filename" ]; then
curl 'https://limitlesstcg.com/tools/pnggen' \
-H 'authority: limitlesstcg.com' \
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
Expand All @@ -21,8 +20,6 @@ if [ ! -f "$filename" ]; then
--compressed \
-o "$filename"

elif; then

else
echo "File $filename already exists" >&2

fi

0 comments on commit 1fca838

Please sign in to comment.