Add a script for restoring reWASD

This commit is contained in:
Manuel Thalmann 2023-07-02 16:05:04 +02:00
parent 12810e93d6
commit 8daed09ab8
2 changed files with 7 additions and 0 deletions

View file

@ -38,4 +38,5 @@ function Restore-PersonalApps([Context] $context) {
Restore-OsuLazer $context;
Restore-PuTTY $context;
Restore-RetroArch $context;
Restore-reWASD $context;
}

View file

@ -8,4 +8,10 @@ $null = New-Module {
Write-Host "Backing up reWASD";
$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);
}
}