From af696f4d56dfc459076fcb060cbe79a52b1440ee Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sat, 12 Mar 2022 15:19:36 +0100 Subject: [PATCH] Add platform tag for Tails AppImage --- src/MainWindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 2b595231..c1ba03ef 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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"; -- 2.52.0