Roblox / foreman

Toolchain manager for Roblox projects
MIT License
178 stars 26 forks source link

Installation incorrectly picks the first file in an artifact folder #97

Open jackTabsCode opened 5 months ago

jackTabsCode commented 5 months ago

When Foreman installs an artifact that is a ZIP file, it picks the first file in the folder, which doesn't always work if your release contains other files like a license or a readme.

https://github.com/Roblox/foreman/blob/main/src/tool_cache.rs#L156

My tool Asphalt is failing to install with Foreman because it's installing the license rather than the executable named asphalt.