hawkeye-stan / msfs-popout-panel-manager

Pop out panel manager for MSFS 2020
GNU Affero General Public License v3.0
107 stars 9 forks source link

CommandLine tags are lost in EXE.XML when modified by popout-panel-manager #121

Closed mdenadal closed 4 months ago

mdenadal commented 4 months ago

Enabling or disabling autostart on MSFS loading obviously modifies EXE.XML If existing EXE.XML contains intems with CommandLine tag, the CommanLine tag get lost.

Example: Before adding autostart

<?xml version="1.0" encoding="utf-8"?> <SimBase.Document Type="Launch" version="1,0"> <Descr>Launch</Descr> <Filename>exe.xml</Filename> <Disabled>False</Disabled> <Launch.Addon> <Name>AutoHotKeyPauseButton</Name> <Disabled>False</Disabled> <Path>C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe</Path> <CommandLine>Z:\AutoHotKeyScripts\Controller_PTT_for_IVAO_Altitude.ahk</CommandLine> </Launch.Addon> </SimBase.Document>

after adding autostart:

<?xml version="1.0" encoding="utf-8"?> <SimBase.Document Type="Launch" version="1,0"> <Descr>Launch</Descr> <Filename>exe.xml</Filename> <Disabled>False</Disabled> <Launch.Addon> <Name>AutoHotKeyPauseButton</Name> <Disabled>False</Disabled> <Path>C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe</Path> </Launch.Addon> <Launch.Addon> <Name>MSFS Popout Panel Manager</Name> <Disabled>false</Disabled> <Path>Z:\Popout Panel Manager\MSFSPopoutPanelManager.exe</Path> </Launch.Addon> </SimBase.Document>

The CommandLine tag for AutoHotKeyPauseButton is get lost.

hawkeye-stan commented 4 months ago

Will be fixed in the next release by end of July.

hawkeye-stan commented 4 months ago

Version 4.1.1 has been released and hopefully it fixes this issue.

mdenadal commented 4 months ago

Thank you @hawkeye-stan ! I confirm 4.1.1 fixes the problem!