bobbingwide / oik-update

WP-a2z repository update automation
0 stars 0 forks source link

Update assets logic to be similar to assets.php #3

Open bobbingwide opened 2 years ago

bobbingwide commented 2 years ago

When running blocks.bat to update a plugin the logic to download new versions of the assets fails.

Failed to download: premium-blocks-for-gutenberg png
Failed to download: premium-blocks-for-gutenberg jpg

The logic in save_icon() needs to be changed to use the cURL method to download the image. See https://github.com/bobbingwide/bw/issues/11