diff --git a/scripts/Windows/Collections/Personal.ps1 b/scripts/Windows/Collections/Personal.ps1 index c57d8612..774da8a7 100644 --- a/scripts/Windows/Collections/Personal.ps1 +++ b/scripts/Windows/Collections/Personal.ps1 @@ -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; diff --git a/scripts/Windows/OS/Manage.ps1 b/scripts/Windows/OS/Manage.ps1 index de2c873e..20224e80 100644 --- a/scripts/Windows/OS/Manage.ps1 +++ b/scripts/Windows/OS/Manage.ps1 @@ -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";