lyqyd / cc-packman

A package manager for ComputerCraft.
MIT License
29 stars 14 forks source link

Setup not called on update #50

Closed aaronmallen closed 6 years ago

aaronmallen commented 7 years ago

Currently packman will not execute the setup script on update... I can see how executing this would be problematic, but perhaps we can include an update property for packages to run on update.

lyqyd commented 7 years ago

Some package download types actually perform a full remove-reinstall cycle when updating. I'll have to review which ones do what. An update field is something I'd considered in the past, so I'll have to work through the design and implications of implementing it again. Good suggestion!

lyqyd commented 6 years ago

This is added.