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

[editor] crash when loaded outside OpenRA directory #2313

Closed
Mailaender opened this issue Jul 16, 2012 · 2 comments
Closed

[editor] crash when loaded outside OpenRA directory #2313

Mailaender opened this issue Jul 16, 2012 · 2 comments

Comments

@Mailaender
Copy link
Member

mono --debug /usr/share/openra/OpenRA.Editor.exe d2k will crash

An exception was thrown by the type initializer for OpenRA.Fileformats.Mod ---> System.IO.DirectoryNotFoundException: Directory 'mods' not found

cd /usr/share/openra and mono OpenRA.Editor.exe d2k will work however.

Also happens with other mods. Has been reported by a Windows user first.

@chrisforbes
Copy link
Member

There's a wrapper script to take care of this

@Mailaender
Copy link
Member Author

Hmm, for Windows OpenRA.nsi sets the working directory for the link using $OUTDIR so this should not be an issue. wondering

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

No branches or pull requests

2 participants