pspdev / psplibraries

A script to automatically build open-source libraries for PSP homebrew development.
47 stars 45 forks source link

libraries.sh does not allow for upgrading libraries to new versions #50

Closed sharkwouter closed 2 years ago

sharkwouter commented 4 years ago

Currently this script will only check if a library is installed and then skip building it if it is. No version check is done. Even if in the cases where it would build a library which is already installed because of a bug, it won't overwrite what's already installed with copying the newly build version, it will fail instead.

I think we should, however, give users the option to at least rebuild their libraries, preferably even update, without making them delete the installed libraries by hand. I see the following ways we could accomplish this (although there may be more):

For both options, I think all copy actions in the build scripts should be made to overwrite the already installed files instead of showing an error. We could also make the depends scripts a bit smarter, so we can do a guaranteed full delete, but that would be significantly more work.

sharkwouter commented 2 years ago

This is addressed in the updated toolchain now.