Update WAU-MSI_Actions.ps1
parent
6de09166e8
commit
0cf8ca2047
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue