Add a script for restoring reWASD
This commit is contained in:
parent
12810e93d6
commit
8daed09ab8
2 changed files with 7 additions and 0 deletions
|
@ -38,4 +38,5 @@ function Restore-PersonalApps([Context] $context) {
|
||||||
Restore-OsuLazer $context;
|
Restore-OsuLazer $context;
|
||||||
Restore-PuTTY $context;
|
Restore-PuTTY $context;
|
||||||
Restore-RetroArch $context;
|
Restore-RetroArch $context;
|
||||||
|
Restore-reWASD $context;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,4 +8,10 @@ $null = New-Module {
|
||||||
Write-Host "Backing up reWASD";
|
Write-Host "Backing up reWASD";
|
||||||
$context.Backup($path, $context.SoftwareArchive($softwareName), @("-x@`"$PSScriptRoot/exclude.txt`""));
|
$context.Backup($path, $context.SoftwareArchive($softwareName), @("-x@`"$PSScriptRoot/exclude.txt`""));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Restore-reWASD([Context] $context) {
|
||||||
|
Write-Host "Restoring reWASD";
|
||||||
|
Read-Host "Please hit enter once you have installed reWASD";
|
||||||
|
$context.Restore($context.SoftwareArchive($softwareName), $path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue