Make fields public for other tools
This commit is contained in:
parent
fbcf3c960e
commit
d6d0e63dd0
1 changed files with 7 additions and 7 deletions
|
@ -84,20 +84,20 @@ fn yes() -> bool {
|
|||
|
||||
#[derive(Serialize, Deserialize, Debug, Default)]
|
||||
pub struct Environment {
|
||||
vars: Option<Vec<String>>,
|
||||
pub vars: Option<Vec<String>>,
|
||||
#[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<String>,
|
||||
current_dir: Option<String>,
|
||||
pub executable_file: String,
|
||||
pub cmd_line_args: Option<String>,
|
||||
pub current_dir: Option<String>,
|
||||
#[serde(default)]
|
||||
dll_list: Vec<String>,
|
||||
pub dll_list: Vec<String>,
|
||||
}
|
||||
|
||||
fn absolute_path(cwd: &Path, path: impl AsRef<Path>) -> PathBuf {
|
||||
|
|
Loading…
Reference in a new issue