Add platform tag for Tails AppImage

This commit is contained in:
tobtoht
2022-03-12 15:19:36 +01:00
parent 34e5703f9c
commit af696f4d56
+5 -1
View 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";