fix: call new service profile preflight helper
This commit is contained in:
parent
b20db33d7b
commit
eb41cc4ac5
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ fn write_config_files() -> Result<PathBuf, RustdeskError> {
|
||||||
));
|
));
|
||||||
|
|
||||||
let service_profile = PathBuf::from(LOCAL_SERVICE_CONFIG).join("RustDesk2.toml");
|
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) {
|
if let Err(error) = write_file(&service_profile, &config_contents) {
|
||||||
log_event(&format!(
|
log_event(&format!(
|
||||||
"Falha ao gravar config no perfil do serviço: {error}"
|
"Falha ao gravar config no perfil do serviço: {error}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue