mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
Add platform tag for Tails AppImage
This commit is contained in:
parent
34e5703f9c
commit
af696f4d56
1 changed files with 5 additions and 1 deletions
|
@ -1529,7 +1529,11 @@ QString MainWindow::getPlatformTag() {
|
||||||
return "win";
|
return "win";
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_OS_LINUX
|
#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-appimage";
|
||||||
}
|
}
|
||||||
return "linux";
|
return "linux";
|
||||||
|
|
Loading…
Reference in a new issue