Fixes to FG Install

This commit is contained in:
jonatanrek committed 2025-02-14 09:28:03 +01:00
1 parent f173df46e4
commit f80333d14b
5 files changed
+16 -5

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ foreach ($folder in (Get-ChildItem -Path "./apps/" )) {
}
}
Remove-Item -Path ("./build/{0}.intunewin" -f $folder.Name) -Force
$buildArgs = "-c", $folder.FullName, "-s", $sourceFile.FullName, "-o", "./build/", "-q"
Start-Process -FilePath ('./v{0}/Microsoft-Win32-Content-Prep-Tool-{0}/IntuneWinAppUtil.exe' -f $version) -ArgumentList "$buildArgs" -Wait
Move-Item -Path ("./build/{0}.intunewin" -f ($sourceFile.Name -split "\.")[0]) -Destination ("./build/{0}.intunewin" -f $folder.Name)