diff options
author | flow <thiagodonato300@gmail.com> | 2022-02-23 14:34:51 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-23 14:34:51 -0300 |
commit | 38f12c50f773ed7ec54bc8ea11691352aef81aee (patch) | |
tree | a68ceb5e334a3725d970a283e99d5c6e8e48f570 /launcher/Application.cpp | |
parent | f8b0d6453ae81488ddfd4c83b329e2c88787c49e (diff) | |
parent | 9e35560554eb089370ba487e5b6265b4bd8e739a (diff) | |
download | PrismLauncher-38f12c50f773ed7ec54bc8ea11691352aef81aee.tar.gz PrismLauncher-38f12c50f773ed7ec54bc8ea11691352aef81aee.tar.bz2 PrismLauncher-38f12c50f773ed7ec54bc8ea11691352aef81aee.zip |
Merge branch 'PolyMC:develop' into develop
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r-- | launcher/Application.cpp | 21 |
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); |