Centralize sandbox destination authority
This commit is contained in:
parent
54cc167f81
commit
f8849cdb5f
1 changed files with 112 additions and 48 deletions
|
|
@ -463,7 +463,7 @@ pub(crate) fn load_configuration(
|
|||
xdg_data_home: optional_environment_path("XDG_DATA_HOME"),
|
||||
xdg_runtime_dir: required_environment_path("XDG_RUNTIME_DIR")?,
|
||||
environment: environment(),
|
||||
sandbox_layout: lazaret_core::configuration::SandboxLayoutV1::default_layout()?,
|
||||
sandbox_layout: lazaret_sandbox_contract::default_sandbox_layout()?,
|
||||
})?)
|
||||
}
|
||||
|
||||
|
|
@ -688,7 +688,7 @@ mod tests {
|
|||
xdg_data_home: None,
|
||||
xdg_runtime_dir: runtime,
|
||||
environment: BTreeMap::new(),
|
||||
sandbox_layout: lazaret_core::configuration::SandboxLayoutV1::default_layout().unwrap(),
|
||||
sandbox_layout: lazaret_sandbox_contract::default_sandbox_layout().unwrap(),
|
||||
})
|
||||
.unwrap()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue