fix: call new service profile preflight helper

This commit is contained in:
Esdras Renan 2025-11-12 12:00:39 -03:00
parent b20db33d7b
commit eb41cc4ac5

View file

@ -267,7 +267,7 @@ fn write_config_files() -> Result<PathBuf, RustdeskError> {
));
let service_profile = PathBuf::from(LOCAL_SERVICE_CONFIG).join("RustDesk2.toml");
let _ = ensure_localservice_writable_preflight();
let _ = ensure_service_profiles_writable_preflight();
if let Err(error) = write_file(&service_profile, &config_contents) {
log_event(&format!(
"Falha ao gravar config no perfil do serviço: {error}"