Would it be perhaps possible to run this task in a small dedicated executable that could be called by exe.xml?
Of course not, because the exe.xml is started by the sim so, at that time, it's already too late to make changes to the installed packages, because the sim is already starting.
A full "automatic" method would need to be something that starts with Windows, but in addition to be very invasive, would require to:
- Always run in the background, constantly monitoring for ANY changes in the WHOLE Community folder.
- As soon ANY file is changed in the Community folder, it should verify it is a livery belonging to an airplane with Seated Passengers, and if it is, it should update it.
- If you start MSFS while it was updating a livery, it should either PREVENT you from starting the sim (highly annoying) or stop what it was doing, resulting in a partially updated package which will cause...pink passengers again.
So, basically, a lot of complication for not many benefits, since you would still missing files in some cases.
In addition to that, the whole concept of having to update the airplane when a new livery is added, is no longer valid in MSFS 2024 when using a NATIVE 2024 airplane, because those have an attached_object.cfg file, which is located in the "Preset" folder, so it's not linked to a specific livery, but to the airplane base variant, so when using native MSFS 2024 airplanes, there's no need to reconfigure Seated Passengers when adding individual liveries, but only when installing a new airplane or after an airpplane update that would add new base variants.