1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-19 22:35:10 +03:00

Debian package generation fixes for simulators (lib files were in the wrong directory, bunch of empty directories were included in package)

This commit is contained in:
Damjan Adamic 2016-08-21 20:47:05 +02:00
parent 9b7d97b441
commit 7dc75cf73f
2 changed files with 10 additions and 4 deletions

View file

@ -56,9 +56,9 @@ void registerSimulators()
#elif (!defined __GNUC__)
char name[MAX_PATH];
GetModuleFileName(NULL, name, MAX_PATH);
QString path(name);
path.truncate(path.lastIndexOf('\\'));
dir.setPath(path);
QString path(name);
path.truncate(path.lastIndexOf('\\'));
dir.setPath(path);
#else
dir = SIMULATOR_LIB_SEARCH_PATH;
#endif