From: tobtoht Date: Thu, 23 Jun 2022 17:58:24 +0000 (+0200) Subject: Revert "Add platform tag for Tails AppImage" X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=e7ef6d0ed378c7a95b0d3ebbadd7fb99fee42d03;p=gamesguru%2Ffeather.git Revert "Add platform tag for Tails AppImage" This reverts commit af696f4d56dfc459076fcb060cbe79a52b1440ee. I had planned to ship an AppImage version without embedded Tor for Tails users, but due to ongoing build system changes this won't be ready for the next release. --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 302b0bef..adb6658d 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -1513,11 +1513,7 @@ QString MainWindow::getPlatformTag() { return "win"; #endif #ifdef Q_OS_LINUX - bool isAppImage = !qEnvironmentVariableIsEmpty("APPIMAGE"); - if (TailsOS::detect() && isAppImage) { - return "tails-appimage"; - } - if (isAppImage) { + if (!qEnvironmentVariableIsEmpty("APPIMAGE")) { return "linux-appimage"; } return "linux";