From d6d0e63dd00f61a50b23c75520ef6bd42bf0b4f4 Mon Sep 17 00:00:00 2001 From: xavo95 Date: Sun, 6 Oct 2024 19:00:21 +0200 Subject: [PATCH] Make fields public for other tools --- injector/src/lib.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 {