mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +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";
|
||||
#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";
|
||||
|
|
Loading…
Reference in a new issue