mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-24 02:42:15 +02:00
Merge pull request #2972 from TheKodeToad/fix-clean-env
Fix launching Minecraft in portable Linux
This commit is contained in:
commit
4a7d624e9b
@ -102,6 +102,8 @@ QProcessEnvironment CleanEnviroment()
|
|||||||
QString newValue = stripVariableEntries(key, value, rawenv.value("LAUNCHER_" + key));
|
QString newValue = stripVariableEntries(key, value, rawenv.value("LAUNCHER_" + key));
|
||||||
|
|
||||||
qDebug() << "Env: stripped" << key << value << "to" << newValue;
|
qDebug() << "Env: stripped" << key << value << "to" << newValue;
|
||||||
|
|
||||||
|
value = newValue;
|
||||||
}
|
}
|
||||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
|
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
|
||||||
// Strip IBus
|
// Strip IBus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user