Browse Source

Fix Windows resource folder

1.10.x
Syping 10 months ago
parent
commit
955f015de3
  1. 4
      AppEnv.cpp

4
AppEnv.cpp

@ -148,7 +148,11 @@ QString AppEnv::getPluginsFolder()
QString AppEnv::getImagesFolder()
{
#if defined(GTA5SYNC_QCONF) && defined(GTA5SYNC_CMAKE)
#ifdef Q_OS_WIN
return StringParser::convertBuildedString(GTA5SYNC_SHARE % QLatin1String("/resources"));
#else
return StringParser::convertBuildedString(GTA5SYNC_SHARE % QLatin1String("/APPNAME:/resources"));
#endif
#else
return QLatin1String(":/img");
#endif

Loading…
Cancel
Save