Downloading demo should simply clone repository instead
Description
We could lighten up on dependencies by simply cloning the lightweight demos directly from their repositories instead of downloading and extracting the zip.
Why is this change important
- Save on dependencies, we could remove
AdmZip
- We could remove all code associated wit hdownloading and extracting
Possible problems caused by this change
- Some new plugin developers may not have git installed and thus we would require them to install it
- but we already require them to install node so is it that big of a deal?
- The demo cloens will have a
.git
directory (which we could remove upon success)
Possible Implementation
We can use the utils already provided like pipeSpawn to perform git clone https://gitlab.com/FeniXEngineMV/fenix-lightweight-mz-game.git
or MV respectively
Edited by ltngames