SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.51k stars 1.11k forks source link

Always use CWD as DLL search path on Windows #1628

Closed heinezen closed 4 months ago

heinezen commented 4 months ago

The command working directory is now always used as a search path, even if --add-dll-search-path is not specified in the CLI.

This should fix or mitigate issues like https://github.com/SFTtech/openage/issues/1624 .

heinezen commented 4 months ago

Didn't thought about that and I see your point. I changed it, so that the path of the directory of __main__.py is in is used. Would this be okay?

TheJJ commented 4 months ago

guess so, if the dll is in that dir? let's see if it helps :)