Open blackears opened 7 months ago
GitHub repositories provide compatible links. In fact, the one that you've submitted is redirected to one: https://raw.githubusercontent.com/blackears/terrain_layered_shader/master/godot/icon.png
(although it's preferable if you use one from a specific commit hash rather than from the master to avoid changing it unexpectedly for users).
We could perform the redirect on our end automatically (using a regex), so you don't have to do it yourself when submitting the asset.
I know you're doing a redesign - it might be better in the new design for you to just host everything so you're not reliant on external sites.
But also, perhaps have your regex just ignore everything after the ? could work too.
I'm trying to submit to the asset library using the Custom method. I need to provide a URL to an icon. I want to provide a link to one uploaded to my Github page, but it's being rejected because it ends in ?raw=true instead of .png. Could the code allow for an exception for this from github repositories?
Same for anything I might upload to google drive. They don't end in .png either.