diff --git a/config/applications.json b/config/applications.json index c4547316..62a6498d 100644 --- a/config/applications.json +++ b/config/applications.json @@ -143,6 +143,15 @@ "link": "https://github.com/sharkdp/bat", "winget": "sharkdp.bat" }, + "beeper": { + "category": "Communications", + "choco": "na", + "content": "Beeper", + "description": "All your chats in one app", + "link": "https://www.beeper.com/", + "winget": "Beeper.Beeper" + }, + "bitwarden": { "category": "Utilities", "choco": "bitwarden", diff --git a/tools/Invoke-Preprocessing.ps1 b/tools/Invoke-Preprocessing.ps1 index 9962b9fe..7dec78cf 100644 --- a/tools/Invoke-Preprocessing.ps1 +++ b/tools/Invoke-Preprocessing.ps1 @@ -63,6 +63,10 @@ function Invoke-Preprocessing { if ($ExcludedFiles.Count -gt 0) { ForEach ($excludedFile in $ExcludedFiles) { $filePath = "$(($WorkingDir -replace ('\\$', '')) + '\' + ($excludedFile -replace ('\.\\', '')))" + # Only attempt to create the directory if the excludedFile ends with '\' + if ($excludedFile -match '\\$' -and -not (Test-Path "$filePath")) { + New-Item -Path "$filePath" -ItemType Directory -Force | Out-Null + } $files = Get-ChildItem -Recurse -Path "$filePath" -File -Force if ($files.Count -gt 0) { ForEach ($file in $files) {