2024-12-05 21:18:28 -06:00
|
|
|
# Import the function (adjust the path according to your setup)
|
2024-12-10 00:25:11 -06:00
|
|
|
. "./functions/private/Install-WinUtilWinget.ps1"
|
|
|
|
. "./functions/private/Test-WinUtilPackageManager.ps1"
|
2024-12-05 21:18:28 -06:00
|
|
|
|
|
|
|
# Set up Information stream to be visible
|
|
|
|
$InformationPreference = "Continue"
|
|
|
|
|
|
|
|
Write-Host "Starting Winget installation test..." -ForegroundColor Cyan
|
|
|
|
|
|
|
|
try {
|
2024-12-10 00:25:11 -06:00
|
|
|
Install-WinUtilWinget
|
2024-12-05 21:18:28 -06:00
|
|
|
} catch {
|
|
|
|
Write-Host "Error occurred during testing: $($_.Exception.Message)" -ForegroundColor Red
|
|
|
|
Write-Host "Stack Trace:" -ForegroundColor Red
|
|
|
|
$_.ScriptStackTrace
|
|
|
|
}
|