diff --git a/injector/src/lib.rs b/injector/src/lib.rs index 29afa7a..b917625 100644 --- a/injector/src/lib.rs +++ b/injector/src/lib.rs @@ -84,20 +84,20 @@ fn yes() -> bool { #[derive(Serialize, Deserialize, Debug, Default)] pub struct Environment { - vars: Option>, + pub vars: Option>, #[serde(default = "yes")] - use_system_env: bool, + pub use_system_env: bool, #[serde(default)] - environment_append: bool, + pub environment_append: bool, } #[derive(Serialize, Deserialize, Debug)] pub struct Launcher { - executable_file: String, - cmd_line_args: Option, - current_dir: Option, + pub executable_file: String, + pub cmd_line_args: Option, + pub current_dir: Option, #[serde(default)] - dll_list: Vec, + pub dll_list: Vec, } fn absolute_path(cwd: &Path, path: impl AsRef) -> PathBuf {