• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Question Regarding older var-files and automatic updating?

subs4

New member
Joined
Nov 23, 2020
Messages
28
Reactions
3
I used to get dependancies manually for a while until I noticed how handy the built in feature is for hub hosted ones. What surprised me though is how many older versions it downloaded if they were still hosted.

This had me wondering, isn't the ".latest" always good and backwards compatible or do some resources actually specifically reference and need an older version? I could trim my addon folder a lot if they can be safely deleted but then it'd also be great to have an updater that did not load obsolete versions and maybe even removed the ones it updates.
 
In general, plugin dependencies use exact versions. All other assets should use .latest, but it varies. There is a Python script that's very useful for figuring out which versions aren't used by anything. If you have several versions of something, feed that name into the script and it will tell you at the bottom which versions are actually needed by something. I move flagged vars that aren't needed into a holding area outside of AddonPackages. If they show up as missing dependencies, I put them back.

 
Upvote 0
Back
Top Bottom