diff --git a/src/main.rs b/src/main.rs index 81f20a7..481ebd7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -158,7 +158,9 @@ impl Default for Config { wayland_dmabuf: false, shared_dirs: Vec::new(), sandbox: !cfg!(feature = "default-no-sandbox"), - seccomp_policy_dir: PathBuf::from(SECCOMP_POLICY_DIR), + seccomp_policy_dir: PathBuf::from( + option_env!("DEFAULT_SECCOMP_POLICY_DIR").unwrap_or(SECCOMP_POLICY_DIR), + ), seccomp_log_failures: false, cras_audio: false, cras_capture: false,