1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 20:27:45 +00:00

Remove some unused debug code

This commit is contained in:
Joshua Goins 2023-07-31 19:00:05 -04:00
parent 79483c1303
commit 0a01e79875

View file

@ -235,15 +235,9 @@ void LauncherCore::launchExecutable(const Profile &profile, QProcess *process, c
QProcessEnvironment::systemEnvironment().value("STEAM_COMPAT_DATA_PATH"); // TODO: do these have to exist on the root steam folder? QProcessEnvironment::systemEnvironment().value("STEAM_COMPAT_DATA_PATH"); // TODO: do these have to exist on the root steam folder?
const QString protonPath = steamDirectory + "/steamapps/common/Proton 7.0"; const QString protonPath = steamDirectory + "/steamapps/common/Proton 7.0";
// env.insert("PATH", protonPath + "/dist/bin:" + QProcessEnvironment::systemEnvironment().value("PATH"));
// env.insert("WINEDLLPATH", protonPath + "/dist/lib64/wine:" + protonPath + "/dist/lib/wine");
// env.insert("LD_LIBRARY_PATH", protonPath + "/dist/lib64:" + protonPath + "/dist/lib");
// env.insert("WINEPREFIX", compatData + "/pfx");
env.insert("STEAM_COMPAT_CLIENT_INSTALL_PATH", steamDirectory); env.insert("STEAM_COMPAT_CLIENT_INSTALL_PATH", steamDirectory);
env.insert("STEAM_COMPAT_DATA_PATH", compatData); env.insert("STEAM_COMPAT_DATA_PATH", compatData);
qInfo() << env.toStringList();
arguments.push_back(protonPath + "/proton"); arguments.push_back(protonPath + "/proton");
arguments.push_back("run"); arguments.push_back("run");
} else { } else {
@ -274,8 +268,6 @@ void LauncherCore::launchExecutable(const Profile &profile, QProcess *process, c
arguments.append(args); arguments.append(args);
qInfo() << arguments;
auto executable = arguments[0]; auto executable = arguments[0];
arguments.removeFirst(); arguments.removeFirst();