]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Prestium: remove temp detect
authortobtoht <tob@featherwallet.org>
Tue, 28 Feb 2023 01:34:56 +0000 (02:34 +0100)
committertobtoht <tob@featherwallet.org>
Tue, 28 Feb 2023 01:34:56 +0000 (02:34 +0100)
src/utils/os/Prestium.cpp

index f1ef7919c052d3ecb7bb2af54a9e19d44e745f7c..80a5829119958ea64dccb71c2941919e8cd7bab3 100644 (file)
 
 bool Prestium::detect()
 {
-    // Temporary detect
-    if (Utils::fileExists("/etc/hostname")) {
-        QByteArray data = Utils::fileOpen("/etc/hostname");
-        if (data == "prestium\n") {
-            return true;
-        }
-    }
-
     return QSysInfo::prettyProductName().contains("Prestium");
 }
\ No newline at end of file