]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
Revert "Add platform tag for Tails AppImage"
authortobtoht <thotbot@protonmail.com>
Thu, 23 Jun 2022 17:58:24 +0000 (19:58 +0200)
committertobtoht <thotbot@protonmail.com>
Thu, 23 Jun 2022 17:59:49 +0000 (19:59 +0200)
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.

src/MainWindow.cpp

index 302b0bef2df933ca08994b20cc95635b19983fc4..adb6658d92a05380012b703e0d871222d8231496 100644 (file)
@@ -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";