committed by
GitHub
parent
2f4267fd41
commit
911b720449
@@ -49,6 +49,7 @@ pub enum Step {
|
|||||||
Firmware,
|
Firmware,
|
||||||
Restarts,
|
Restarts,
|
||||||
Tldr,
|
Tldr,
|
||||||
|
Wsl,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize, Default, Debug)]
|
#[derive(Deserialize, Default, Debug)]
|
||||||
|
|||||||
@@ -100,7 +100,11 @@ fn run() -> Result<()> {
|
|||||||
let should_run_powershell = powershell.profile().is_some() && config.should_run(Step::Shell);
|
let should_run_powershell = powershell.profile().is_some() && config.should_run(Step::Shell);
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
|
{
|
||||||
|
if config.should_run(Step::Wsl) {
|
||||||
runner.execute("WSL", || windows::run_wsl_topgrade(run_type))?;
|
runner.execute("WSL", || windows::run_wsl_topgrade(run_type))?;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if let Some(topgrades) = config.remote_topgrades() {
|
if let Some(topgrades) = config.remote_topgrades() {
|
||||||
if config.should_run(Step::Remotes) {
|
if config.should_run(Step::Remotes) {
|
||||||
|
|||||||
Reference in New Issue
Block a user