Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lethosor opened this issue Apr 9, 2016 · 2 comments
Open

Comments

@lethosor
Copy link

lethosor commented Apr 9, 2016

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.).

@lethosor
Copy link
Author

lethosor commented Apr 9, 2016

There are also a couple symlinks in the SDL frameworks distributed in the OS X DF package, which DF needs to start.

@PeridexisErrant
Copy link
Owner

Thanks for raising this. For now I don't think there's much to do beyond noting in the documentation (forthcoming, eventually) that *nix packs cannot be built from Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants