mirror of
https://github.com/Tim-Paik/neutauri.git
synced 2024-10-12 23:29:41 +00:00
Added manifest option
This commit is contained in:
parent
ff70033f0f
commit
bb15d55214
@ -67,6 +67,7 @@ pub struct Config {
|
|||||||
pub url: Option<String>,
|
pub url: Option<String>,
|
||||||
pub html: Option<PathBuf>,
|
pub html: Option<PathBuf>,
|
||||||
pub initialization_script: Option<PathBuf>,
|
pub initialization_script: Option<PathBuf>,
|
||||||
|
pub manifest: Option<PathBuf>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
|
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
|
||||||
@ -249,6 +250,7 @@ impl Default for Config {
|
|||||||
url: Some("/index.html".into()),
|
url: Some("/index.html".into()),
|
||||||
html: None,
|
html: None,
|
||||||
initialization_script: None,
|
initialization_script: None,
|
||||||
|
manifest: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -67,6 +67,7 @@ pub struct Config {
|
|||||||
pub url: Option<String>,
|
pub url: Option<String>,
|
||||||
pub html: Option<PathBuf>,
|
pub html: Option<PathBuf>,
|
||||||
pub initialization_script: Option<String>,
|
pub initialization_script: Option<String>,
|
||||||
|
pub manifest: Option<PathBuf>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
|
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
|
||||||
@ -216,7 +217,8 @@ impl Default for Config {
|
|||||||
spa: false,
|
spa: false,
|
||||||
url: Some("/index.html".into()),
|
url: Some("/index.html".into()),
|
||||||
html: None,
|
html: None,
|
||||||
initialization_script: Some("".into()),
|
initialization_script: None,
|
||||||
|
manifest: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user