wingetautoupdate/Winget-AutoUpdate/functions/Get-IncludedApps.ps1

11 lines
195 B
PowerShell
Raw Normal View History

2022-04-13 16:50:06 +00:00
#Function to get White List apps
2022-06-10 08:26:41 +00:00
function Get-IncludedApps {
2022-04-13 16:50:06 +00:00
2022-06-10 08:26:41 +00:00
if (Test-Path "$WorkingDir\included_apps.txt") {
2022-04-13 16:50:06 +00:00
2022-04-05 13:17:18 +00:00
return Get-Content -Path "$WorkingDir\included_apps.txt"
2022-04-13 16:50:06 +00:00
2022-04-05 13:17:18 +00:00
}
2022-04-13 16:50:06 +00:00
2022-04-05 13:17:18 +00:00
}