Merge pull request #4345 from graemeg/freebsd-support

Adds FreeBSD support to MultiMC
This commit is contained in:
Petr Mrázek
2021-12-30 20:00:45 +01:00
committed by GitHub
15 changed files with 96 additions and 19 deletions

View File

@ -521,7 +521,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
// Set up paths
{
// Root path is used for updates.
#ifdef Q_OS_LINUX
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
QDir foo(FS::PathCombine(binPath, ".."));
m_rootPath = foo.absolutePath();
#elif defined(Q_OS_WIN32)