feature privacy policy not exist and show guide

This commit is contained in:
alves
2025-12-18 20:11:44 +08:00
parent 5beaa11ce3
commit b2492d86e0

View File

@@ -88,6 +88,14 @@ bool AppConfig::get_stealth_mode()
if (!get_bool("firstguide","finish")) {
return true;
}
auto isAgree = get("snapmaker_privacy_policy", "isagree");
if (isAgree.empty())
{
return true;
}
return get_bool("stealth_mode");
}