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)]
|
#[derive(Serialize, Deserialize, Debug, Default)]
|
||||||
pub struct Environment {
|
pub struct Environment {
|
||||||
vars: Option<Vec<String>>,
|
pub vars: Option<Vec<String>>,
|
||||||
#[serde(default = "yes")]
|
#[serde(default = "yes")]
|
||||||
use_system_env: bool,
|
pub use_system_env: bool,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
environment_append: bool,
|
pub environment_append: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Debug)]
|
#[derive(Serialize, Deserialize, Debug)]
|
||||||
pub struct Launcher {
|
pub struct Launcher {
|
||||||
executable_file: String,
|
pub executable_file: String,
|
||||||
cmd_line_args: Option<String>,
|
pub cmd_line_args: Option<String>,
|
||||||
current_dir: Option<String>,
|
pub current_dir: Option<String>,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
dll_list: Vec<String>,
|
pub dll_list: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn absolute_path(cwd: &Path, path: impl AsRef<Path>) -> PathBuf {
|
fn absolute_path(cwd: &Path, path: impl AsRef<Path>) -> PathBuf {
|
||||||
|
|
Loading…
Reference in a new issue