From aabe7afc2df79345879dce51645618b0d98d525f Mon Sep 17 00:00:00 2001 From: KnifMelti Date: Sat, 4 Mar 2023 05:52:21 +0100 Subject: [PATCH] No File error text in ModsPath --- Winget-AutoUpdate/Winget-Upgrade.ps1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/Winget-AutoUpdate/Winget-Upgrade.ps1 b/Winget-AutoUpdate/Winget-Upgrade.ps1 index 1a1b222..873c5af 100644 --- a/Winget-AutoUpdate/Winget-Upgrade.ps1 +++ b/Winget-AutoUpdate/Winget-Upgrade.ps1 @@ -146,9 +146,6 @@ if (Test-Network) { $NewMods, $DeletedMods = Test-ModsPath $WAUConfig.WAU_ModsPath.TrimEnd(" ", "\", "/") $WAUConfig.InstallLocation.TrimEnd(" ", "\") if ($ReachNoPath) { Write-Log "Couldn't reach/find/compare/copy from $($WAUConfig.WAU_ModsPath.TrimEnd(" ", "\", "/"))..." "Red" - if ($($WAUConfig.WAU_ModsPath) -match "_apps.txt") { - Write-Log "PATH must end with a Directory, not a File..." "Red" - } $Script:ReachNoPath = $False } if ($NewMods -gt 0) {