Skip to content

Potential issues with symlinks in the DFHack archives on Windows #3

@lethosor

Description

@lethosor

From here

Hey, I am trying to make prepackaged versions of my mod (including DFHack) for all 3 OSes, but am running into a snag: I cannot extract the linux version because it has symbolic links. Any way around this other than telling the user to manually install DFHack themselves?

From here, it sounds like extracting the archives on Windows and re-packaging them would break symlinks upon extraction, even on OS X and Linux, which would break things that depend on those symlinks (Stonesense) completely.

As I mentioned in that thread, it would be possible to replace broken allegro symlinks with working ones in the DFHack launcher script. However, since I don't think there's a way to tell which files are broken symlinks and which are just normal files, it's not a great solution in terms of maintainability (if we add more symlinks, etc.).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions