Aterfax / DCS-World-Dedicated-Server-Docker

Modular DCS World Dedicated Server docker.
GNU General Public License v3.0
30 stars 6 forks source link

Autoinstall Desktop Shortcuts #53

Closed BrotRooti closed 3 months ago

BrotRooti commented 3 months ago

The Shortcut for DCS Saved Games Directory, wich is created by the autoinstaller, is still mapped to the .openbeta_server, wich does not exist on new installs, instead of the .realese_server

BrotRooti commented 3 months ago

The same problem exists with the autostart script, so there is likely a problem with the function, wich selects the right pahts

Aterfax commented 3 months ago

Hi, please see https://github.com/Aterfax/DCS-World-Dedicated-Server-Docker/blob/7e2f57a7aa4b06dcc3e6f9b37cca813360bb2f64/docker/src/s6-services/s6-init-migrate-dcs-oneshot/run#L26-L27

^ This will replace / correct the shortcut paths.

https://github.com/Aterfax/DCS-World-Dedicated-Server-Docker/blob/7e2f57a7aa4b06dcc3e6f9b37cca813360bb2f64/docker/src/helper_functions/find_dcs_dirs_function#L18-L21

https://github.com/Aterfax/DCS-World-Dedicated-Server-Docker/blob/7e2f57a7aa4b06dcc3e6f9b37cca813360bb2f64/docker/src/wine-dedicated-dcs-automated-installer/dcs-dedicated-server-automatic-installer.sh#L52-L92

^ These show the new logic which implements the new paths.

This release isn't out until Saturday so this won't take effect yet.

Aterfax commented 3 months ago

I will close this out for now as I think this is invalid. If this is still an issue with the image when it generates this coming Saturday please let me know and I will re-open and investigate.