diff --git a/scripts/Windows/Scripts/FileLists/Home.exclude.txt b/scripts/Windows/Resources/FileLists/Home.exclude.txt similarity index 100% rename from scripts/Windows/Scripts/FileLists/Home.exclude.txt rename to scripts/Windows/Resources/FileLists/Home.exclude.txt diff --git a/scripts/Windows/Scripts/FileLists/Home.include.txt b/scripts/Windows/Resources/FileLists/Home.include.txt similarity index 100% rename from scripts/Windows/Scripts/FileLists/Home.include.txt rename to scripts/Windows/Resources/FileLists/Home.include.txt diff --git a/scripts/Windows/Scripts/FileLists/Public.exclude.txt b/scripts/Windows/Resources/FileLists/Public.exclude.txt similarity index 100% rename from scripts/Windows/Scripts/FileLists/Public.exclude.txt rename to scripts/Windows/Resources/FileLists/Public.exclude.txt diff --git a/scripts/Windows/Scripts/FileLists/Public.include.txt b/scripts/Windows/Resources/FileLists/Public.include.txt similarity index 100% rename from scripts/Windows/Scripts/FileLists/Public.include.txt rename to scripts/Windows/Resources/FileLists/Public.include.txt diff --git a/scripts/Windows/Scripts/PersonalFiles.ps1 b/scripts/Windows/Scripts/PersonalFiles.ps1 index b866dbcf..41c5ef17 100644 --- a/scripts/Windows/Scripts/PersonalFiles.ps1 +++ b/scripts/Windows/Scripts/PersonalFiles.ps1 @@ -6,8 +6,18 @@ function Get-BackupCandidates() { $candidates.AddRange( [System.Tuple[string, string, string[]][]]@( - [System.Tuple]::Create("Home", "$HOME", @("-i@`"$PSScriptRoot/FileLists/Home.include.txt`"", "-x@`"$PSScriptRoot/FileLists/Home.exclude.txt`"")), - [System.Tuple]::Create("Public", "$env:PUBLIC", @("-i@`"$PSScriptRoot/FileLists/Public.include.txt`"", "-x@`"$PSScriptRoot/FileLists/Public.exclude.txt`"")))); + [System.Tuple]::Create( + "Home", + "$HOME", + @( + "-i@`"$PSScriptRoot/../Resources/FileLists/Home.include.txt`"", + "-x@`"$PSScriptRoot/../Resources/FileLists/Home.exclude.txt`"")), + [System.Tuple]::Create( + "Public", + "$env:PUBLIC", + @( + "-i@`"$PSScriptRoot/../Resources/FileLists/Public.include.txt`"", + "-x@`"$PSScriptRoot/../Resources/FileLists/Public.exclude.txt`"")))); return $candidates; }