Open TheAlan404 opened 6 months ago
Most addons could be downloaded but some are compiled. This proposal (that will require a lot of code change) will allow there to be more complex addons.
The idea is that a Downloadable, instead of returning a ResolvedFile, will return Vec<Step>
Downloadable
ResolvedFile
Vec<Step>
pub enum Step { Download(ResolvedFile), Execute(...), Compile(...), }
Most addons could be downloaded but some are compiled. This proposal (that will require a lot of code change) will allow there to be more complex addons.
The idea is that a
Downloadable
, instead of returning aResolvedFile
, will returnVec<Step>