From: tobtoht Date: Sat, 12 Mar 2022 14:19:36 +0000 (+0100) Subject: Add platform tag for Tails AppImage X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=af696f4d56dfc459076fcb060cbe79a52b1440ee;p=gamesguru%2Ffeather.git Add platform tag for Tails AppImage --- 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";