Reorder steps of windows restoration
This commit is contained in:
parent
a90cd02d92
commit
48a9234081
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
|||
. "$PSScriptRoot/../Software/git/Manage.ps1";
|
||||
. "$PSScriptRoot/../Software/LGHub/Manage.ps1";
|
||||
. "$PSScriptRoot/../Software/ManiaPlanet/Manage.ps1";
|
||||
. "$PSScriptRoot/../Software/Nextcloud/Manage.ps1";
|
||||
. "$PSScriptRoot/../Software/osu!/Manage.ps1";
|
||||
. "$PSScriptRoot/../Software/osu!lazer/Manage.ps1";
|
||||
. "$PSScriptRoot/../Software/PuTTY/Manage.ps1";
|
||||
|
@ -29,7 +28,6 @@ function Backup-PersonalApps([Context] $context) {
|
|||
function Restore-PersonalApps([Context] $context) {
|
||||
choco feature enable -n useEnhancedExitCodes;
|
||||
choco install -y firefox;
|
||||
Restore-Nextcloud $context;
|
||||
Restore-Git $context;
|
||||
Restore-LogitechGHUB $context;
|
||||
Restore-TmNations $context;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
. "$PSScriptRoot/../Scripts/Context.ps1";
|
||||
. "$PSScriptRoot/../Scripts/PersonalFiles.ps1";
|
||||
. "$PSScriptRoot/../Software/Nextcloud/Manage.ps1";
|
||||
. "$PSScriptRoot/../Collections/Personal.ps1";
|
||||
|
||||
function Backup-WindowsInstallation([Context] $context) {
|
||||
|
@ -28,6 +29,8 @@ function Restore-WindowsInstallation([Context] $context) {
|
|||
}
|
||||
}
|
||||
|
||||
Restore-Nextcloud $context;
|
||||
|
||||
Write-Information "Determining Backup Archive Path";
|
||||
$backupPath = Read-Path;
|
||||
$context.BackupName ??= "PortValhalla";
|
||||
|
|
Loading…
Reference in a new issue