Skip to content

Commit

Permalink
fv
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Apr 26, 2024
1 parent 5d2fdb3 commit 6469fd7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions msupdate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ if (-not (Test-Path -Path ".\bin\PSFExtractor.exe")) {
}

# get wupatch
Invoke-WebRequest -Uri "$WUScript" -OutFile ".\WUScript.meta4"
Invoke-WebRequest -Uri $WUScript -OutFile ".\WUScript.meta4"
.\bin\aria2c.exe --check-certificate=false -x16 -s16 -j5 -c -R -d ".\patch" -M ".\WUScript.meta4"
if ($?) {Write-Host "WUScript Download Successfully!"} else {Write-Error "WUScript Download Failed!"}
if ($null -ne $NETScript) {
Invoke-WebRequest -Uri "$NETScript" -OutFile ".\NETScript.meta4"
Invoke-WebRequest -Uri $NETScript -OutFile ".\NETScript.meta4"
.\bin\aria2c.exe --check-certificate=false -x16 -s16 -j5 -c -R -d ".\patch" -M ".\NETScript.meta4"
}

Expand Down Expand Up @@ -162,6 +163,9 @@ if ($null -ne $SelectEdition) {
}
}

.\bin\wimlib-imagex.exe info ".\ISO\sources\install.wim" --extract-xml ".\temp\WIMInfo2.xml"
Get-Content ".\temp\WIMInfo2.xml"

# write W10UI conf
"[W10UI-Configuration]
Target =%cd%\ISO
Expand Down

0 comments on commit 6469fd7

Please sign in to comment.