Skip to content

Commit 1fe865c

Browse files
committed
Forgotten Tab
1 parent 27e25c5 commit 1fe865c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/Winget-AutoUpdate/Winget-Install.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function Install-App ($AppID, $AppArgs) {
160160
}
161161

162162
Write-ToLog "-> Running: `"$Winget`" $WingetArgs"
163-
& "$Winget" $WingetArgs | Where-Object { $_ -notlike " *" } | Tee-Object -file $LogFile -Append
163+
& "$Winget" $WingetArgs | Where-Object { $_ -notlike " *" } | Tee-Object -file $LogFile -Append
164164

165165
if ($ModsInstall) {
166166
Write-ToLog "-> Modifications for $AppID during install are being applied..." "DarkYellow"
@@ -212,7 +212,7 @@ function Uninstall-App ($AppID, $AppArgs) {
212212
Write-ToLog "-> Uninstalling $AppID..." "DarkYellow"
213213
$WingetArgs = "uninstall --id $AppID -e --accept-source-agreements -h $AppArgs" -split " "
214214
Write-ToLog "-> Running: `"$Winget`" $WingetArgs"
215-
& "$Winget" $WingetArgs | Where-Object { $_ -notlike " *" } | Tee-Object -file $LogFile -Append
215+
& "$Winget" $WingetArgs | Where-Object { $_ -notlike " *" } | Tee-Object -file $LogFile -Append
216216

217217
if ($ModsUninstall) {
218218
Write-ToLog "-> Modifications for $AppID during uninstall are being applied..." "DarkYellow"
@@ -294,6 +294,7 @@ $Script:IsElevated = $CurrentPrincipal.IsInRole([Security.Principal.WindowsBuilt
294294
#Get WAU Installed location
295295
$WAURegKey = "HKLM:\SOFTWARE\Romanitho\Winget-AutoUpdate\"
296296
$Script:WAUInstallLocation = Get-ItemProperty $WAURegKey -ErrorAction SilentlyContinue | Select-Object -ExpandProperty InstallLocation
297+
297298
# Use the Working Dir (even if it is from a symlink)
298299
$Mods = "$realPath\mods"
299300

0 commit comments

Comments
 (0)