Akkadius / spire

[Spire] A rich, portable server editing and development toolkit for EverQuest Emulator servers
https://github.com/Akkadius/spire
50 stars 12 forks source link

[Assets] Improve asset downloading #115

Closed Akkadius closed 1 year ago

Akkadius commented 1 year ago

Spire uses downloads static assets for things like icons, models, video previews etc. This moves static assets to now be versioned and downloaded via release system. This will improve download times, versioning and reliability

INFO[2023-04-29 01:14:12] Downloading [eq-asset-preview] release       
INFO[2023-04-29 01:14:12] New version available, downloading [eq-asset-preview] release [v1.0.1] 

   █░░ █▀█ ▄▀█ █▀▄ █ █▄░█ █▀▀         █▀█ █░░ █▀▀ ▄▀█ █▀ █▀▀   █░█░█ ▄▀█ █ ▀█▀     
   █▄▄ █▄█ █▀█ █▄▀ █ █░▀█ █▄█ ▄ ▄ ▄   █▀▀ █▄▄ ██▄ █▀█ ▄█ ██▄   ▀▄▀▄▀ █▀█ █ ░█░ ▄ ▄ ▄

[Downloading] URL [https://github.com/Akkadius/eq-asset-preview/releases/latest/download/build.zip]
[Downloading] To [/tmp/build.zip]

[Downloading] 100% |██████████████████████████████| (64 MB/s)         

INFO[2023-04-29 01:14:18] Downloaded zip to [/tmp/build.zip]           
[Zip] Extraction of [/tmp/build.zip] started!
[Zip] Extracted (5858) files in [/tmp/build.zip] to [/home/eqemu/.cache/spire/assets]!