Merge pull request #14 from ModOrganizer2/revert-13-master

Revert "Moving things around"
This commit is contained in:
isanae
2020-11-27 07:47:00 -05:00
committed by GitHub
3 changed files with 0 additions and 30 deletions
-17
View File
@@ -203,25 +203,8 @@ static void applyChromeFix()
}
}
void setupPath()
{
static const int buffSize = 4096;
std::wstring oldPath;
oldPath.resize(buffSize);
oldPath.resize(::GetEnvironmentVariableW(L"PATH", oldPath.data(), oldPath.size()));
std::wstring newPath(ToWString(QDir::toNativeSeparators(QDir::currentPath())));
newPath += L"\\dlls;";
newPath += oldPath.data();
::SetEnvironmentVariableW(L"PATH", newPath.c_str());
}
int main(int argc, char *argv[])
{
// This must be set before the application constructor
setupPath();
QApplication app(argc, argv);
try {
-8
View File
@@ -1,8 +0,0 @@
[Paths]
Prefix=.
Libraries=dlls
LibraryExecutables=dlls
Plugins=dlls
Imports=dlls
Qml2Imports=dlls
Translations=resources/translations
-5
View File
@@ -1,5 +0,0 @@
<RCC>
<qresource prefix="/qt/etc">
<file>qt.conf</file>
</qresource>
</RCC>