Update WAU-MSI_Actions.ps1

pull/725/head
Romain 2024-10-01 00:02:33 +02:00
parent 6de09166e8
commit 0cf8ca2047
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ function Install-WingetAutoUpdate {
#Copy Mods to install folder #Copy Mods to install folder
$ModsFolder = Join-Path $CurrentDir "Mods" $ModsFolder = Join-Path $CurrentDir "Mods"
if (Test-Path $ModsFolder) { if (Test-Path $ModsFolder) {
Write-Output "-> Copying $ModsFolder to $InstallPath\mods" Write-Output "-> Copying $ModsFolder to $InstallPath"
Copy-Item -Path $ModsFolder -Destination "$InstallPath\mods" -Recurse Copy-Item -Path $ModsFolder -Destination "$InstallPath" -Recurse
} }
#Secure folders if not installed to ProgramFiles #Secure folders if not installed to ProgramFiles