feat: add stealth mode select step to setup wizard (#6104)

feat: add stealth mode select to setup wizard

feat: enable stealth mode until user finishes setup wizard

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Pim 2024-07-31 13:51:07 +02:00 committed by GitHub
parent 3510158cd8
commit f0f5c3bbe9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 157 additions and 7 deletions

View file

@ -81,6 +81,15 @@ std::string AppConfig::get_hms_host()
// #endif
}
bool AppConfig::get_stealth_mode()
{
// always return true when user did not finish setup wizard yet
if (!get_bool("firstguide","finish")) {
return true;
}
return get_bool("stealth_mode");
}
void AppConfig::reset()
{
m_storage.clear();