Line 0
Link Here
|
|
|
1 |
--- src/Dirstructure.cpp.orig 2020-03-11 14:16:47 UTC |
2 |
+++ src/Dirstructure.cpp |
3 |
@@ -75,7 +75,7 @@ Dirstructure::Dirstructure() |
4 |
wxString Dirstructure::ResourcesDir() const |
5 |
{ |
6 |
// Our ressources dir is somewhere near to the dir the binary can be found. |
7 |
- wxFileName exe(wxStandardPaths::Get().GetExecutablePath()); |
8 |
+ wxFileName exe(wxGetCwd()); |
9 |
|
10 |
// We only need the drive and the directory part of the path to the binary |
11 |
exe.ClearExt(); |