mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 11:39:31 +00:00
commit
51a43341c5
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ bool TailsOS::detect()
|
|||
return false;
|
||||
|
||||
QByteArray data = fileOpen("/etc/os-release");
|
||||
QRegularExpression re("TAILS_PRODUCT_NAME=\"Tails\"");
|
||||
QRegularExpression re("NAME=\"Tails\"");
|
||||
QRegularExpressionMatch os_match = re.match(data);
|
||||
bool matched = os_match.hasMatch();
|
||||
|
||||
|
|
Loading…
Reference in a new issue