Open twodogzz opened 2 years ago
This would either require to write to the exe.xml file which seems to be unreliable to some users, also because it's a single file that all programs can write to and could potentially corrupt the whole file, or to have a secondary service to monitor if MSFS is active. I don't see an advantage in the latter solution tho.
There might be a way to monitor/watch for a lock file from MSFS of sorts with the electron app to trigger the start of simbridge. I'm experimenting to check if that's possible
Looks like such file is %localappdata&\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\running.lock
. This is for the MS Store version however, not sure about the steam version.
Is there a way to use the creation of this file as the trigger to start/stop simbridge?
We know a way to determine if MSFS is open. Thing is, if we need a background service to monitor if another background service should be started, what's the point then?
That is a good point! However I think both options (staring with login or msfs) should be implemented, which I can help with.
I'm not sure if there's an auto update feature in the installer for the add-ons yet, but once implemented or enabled, I think I will keep the fbw installer open on login to automatically update my add-ons like Steam for example. This essentially makes the fbw installer a background service to launch simbridge. And if desired, even customized applications eg. Volanta if implemented.
Installer Version
v3.2.1
Description
Add a new option to the Autostart Configuration that enables SimBridge to start with the MSFS.
References (optional)
Additional info (optional)
An option to give the operator a choice to start SimBridge when you log into your Windows session OR when you start MSFS.
Discord Username (optional)
twodogzz🦘#7391