Merge pull request #4281

e956b4f tails: fix detection (tobtoht)
This commit is contained in:
luigi1111 2024-03-08 20:52:06 -05:00
commit 51a43341c5
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 1 additions and 1 deletions

View File

@ -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();