aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.cpp
diff options
context:
space:
mode:
authorGlitch <glitchieproductionsofficial@gmail.com>2022-02-20 14:56:45 -0600
committerGlitch <glitchieproductionsofficial@gmail.com>2022-02-20 15:00:23 -0600
commit8556ff5eac8a5a880896e954081e5c9ada224eaa (patch)
tree85aa55c1bb62d26aad416f8341941da798679abf /launcher/Application.cpp
parent613b351f1342ac80f5699dbdb53b9ff5c1f1056f (diff)
downloadPrismLauncher-8556ff5eac8a5a880896e954081e5c9ada224eaa.tar.gz
PrismLauncher-8556ff5eac8a5a880896e954081e5c9ada224eaa.tar.bz2
PrismLauncher-8556ff5eac8a5a880896e954081e5c9ada224eaa.zip
Revert ba6a97557a0d90d77e9eba560931414e39042447
Let evil win.
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r--launcher/Application.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index e916dcf7..e33df252 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -192,27 +192,6 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
#endif
startTime = QDateTime::currentDateTime();
-#ifdef Q_OS_LINUX
- {
- QFile osrelease("/proc/sys/kernel/osrelease");
- if (osrelease.open(QFile::ReadOnly | QFile::Text)) {
- QTextStream in(&osrelease);
- auto contents = in.readAll();
- if(
- contents.contains("WSL", Qt::CaseInsensitive) ||
- contents.contains("Microsoft", Qt::CaseInsensitive)
- ) {
- showFatalErrorMessage(
- "Unsupported system detected!",
- "Linux-on-Windows distributions are not supported.\n\n"
- "Please use the Windows binary when playing on Windows."
- );
- return;
- }
- }
- }
-#endif
-
// Don't quit on hiding the last window
this->setQuitOnLastWindowClosed(false);