]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
Add platform tag for Tails AppImage
authortobtoht <thotbot@protonmail.com>
Sat, 12 Mar 2022 14:19:36 +0000 (15:19 +0100)
committertobtoht <thotbot@protonmail.com>
Sat, 12 Mar 2022 14:19:36 +0000 (15:19 +0100)
src/MainWindow.cpp

index 2b5952311a1a4232082ed643f8f9f6d8f80064c5..c1ba03ef6ad2ba35dde0c2dab5045151b5d30843 100644 (file)
@@ -1529,7 +1529,11 @@ QString MainWindow::getPlatformTag() {
     return "win";
 #endif
 #ifdef Q_OS_LINUX
-    if (!qEnvironmentVariableIsEmpty("APPIMAGE")) {
+    bool isAppImage = !qEnvironmentVariableIsEmpty("APPIMAGE");
+    if (TailsOS::detect() && isAppImage) {
+        return "tails-appimage";
+    }
+    if (isAppImage) {
         return "linux-appimage";
     }
     return "linux";