arquebus wrote: ↑Sat Aug 30, 2025 1:42 am
Are the different versions of the expansions being stored in the same directory that Oolite loads expansions from? Or are the old versions supposed to end up in another directory? If all versions are in the AddOns directory then I'd be surprised if Oolite *didn't* throw errors for everyone every time there were two versions in the loaded list.
Expansion management is still done according to the diagram:
We decided to no longer offer enable/disable as it is too confusing for users. Thus the only directories in use are ManagedAddons and Addons.
The install operation will download expansions and drop them into MangagedAddons, the delete operation will remove the file from the filesystem.
Update is a combination of install/delete. No rocket science there.
To know where these directories are on disk just check the configuration:
For each of the expansions OoliteStarter also shows where on disk this expansion is to be found. Look for the LocalFile entry in the lower section. In this example it is null as the selected expansion is available for download but not installed:
I know you can have multiple oxz files in the ManagedAddons and Addons directories resembling the same OXP or different versions of it. All you need to do is rename one of the files, or copy them to the other directory - Oolite will load them regardless. The difficult bit is then to tell which of the OXPs will win or if all of them are active at the same time. If you want to know what is on disk extract all the manifest.plist files from the OXPs and compare the
required keys.