Update WAU-MSI_Actions.ps1
parent
6de09166e8
commit
0cf8ca2047
|
@ -125,8 +125,8 @@ function Install-WingetAutoUpdate {
|
|||
#Copy Mods to install folder
|
||||
$ModsFolder = Join-Path $CurrentDir "Mods"
|
||||
if (Test-Path $ModsFolder) {
|
||||
Write-Output "-> Copying $ModsFolder to $InstallPath\mods"
|
||||
Copy-Item -Path $ModsFolder -Destination "$InstallPath\mods" -Recurse
|
||||
Write-Output "-> Copying $ModsFolder to $InstallPath"
|
||||
Copy-Item -Path $ModsFolder -Destination "$InstallPath" -Recurse
|
||||
}
|
||||
|
||||
#Secure folders if not installed to ProgramFiles
|
||||
|
|
Loading…
Reference in New Issue