Skip to content

Local mods not detected by launch.pyΒ #91

@pnmcosta

Description

@pnmcosta

I believe that

https://github.com/BrettMayson/Arma3Server/blob/v2/launch.py#L56

is incorrect because os.path will be relative to the execution directory, which is /arma3:

https://github.com/BrettMayson/Arma3Server/blob/v2/Dockerfile#L56

I can further confirm this if I change

-v path/to/mods:/arma3/server/mods

to

-v path/to/mods:/arma3/mods

Then the mod attribute on the binary is set with the list of mods.

However as it's not relative to the binary on /arma3/server local mods aren't loading.

I also believe the same will occur with serverMods as it's the same harnessing method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions