Skip to content

Commit

Permalink
go to bed
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Apr 30, 2024
1 parent 3709817 commit 8a93e81
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions msupdate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ switch ($MakeVersion) {
$ospath = "/系统/MSDN/NT10.0_Win11/22631_23H2/2861_202312/Win11_23H2_China_GGK_Chinese_Simplified_x64v2.iso"
}
if ($true -eq $UpdateFromUUP) {
$uupid = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/known.php?q=category:w11-23h2").Links | Where-Object {$_.href -like "selectlang.php?id=*"} | Where-Object {$_.outerHTML -like "*amd64*"})[0].href.replace("selectlang.php?id=","")
$UUPScript = "https://uup.xr6.xyz/get.php?id=$uupid&pack=0&edition=updateOnly&aria2=2"
$Miracast = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/getfile.php?id=$uupid&file=Microsoft-Windows-WirelessDisplay-FOD-Package-amd64.cab").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
$MiracastLP = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/getfile.php?id=$uupid&file=Microsoft-Windows-WirelessDisplay-FOD-Package-amd64-zh-cn.cab").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
$entgpack = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/getfile.php?id=$uupid&file=Microsoft-Windows-EditionSpecific-EnterpriseG-Package.ESD").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
$uupid = ((Invoke-WebRequest -Uri "https://uupdump.net/known.php?q=category:w11-23h2").Links | Where-Object {$_.href -like "selectlang.php?id=*"} | Where-Object {$_.outerHTML -like "*amd64*"})[0].href.replace("selectlang.php?id=","")
$UUPScript = "https://uupdump.net/get.php?id=$uupid&pack=0&edition=updateOnly&aria2=2"
Start-Sleep -Seconds 3
$Miracast = ((Invoke-WebRequest -Uri "https://uupdump.net/getfile.php?id=$uupid&file=Microsoft-Windows-WirelessDisplay-FOD-Package-amd64.cab").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
Start-Sleep -Seconds 3
$MiracastLP = ((Invoke-WebRequest -Uri "https://uupdump.net/getfile.php?id=$uupid&file=Microsoft-Windows-WirelessDisplay-FOD-Package-amd64-zh-cn.cab").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
Start-Sleep -Seconds 3
$entgpack = ((Invoke-WebRequest -Uri "https://uupdump.net/getfile.php?id=$uupid&file=Microsoft-Windows-EditionSpecific-EnterpriseG-Package.ESD").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
} else {
$WUScript = "https://raw.githubusercontent.com/adavak/Win_ISO_Patching_Scripts/master/Scripts/script_22621_x64.meta4"
$Miracast = "https://file.uhsea.com/2404/9dee091435ee149c1f6207f70fb46a6a7U.cab"
Expand All @@ -35,11 +38,14 @@ switch ($MakeVersion) {
$ospath = "/系统/MSDN/NT10.0_Win10/19045_22H2/2006_RTM/Win10_22H2_China_GGK_Chinese_Simplified_x64.iso"
}
if ($true -eq $UpdateFromUUP) {
$uupid = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/known.php?q=category:w10-22h2").Links | Where-Object {$_.href -like "selectlang.php?id=*"} | Where-Object {$_.outerHTML -like "*amd64*"})[0].href.replace("selectlang.php?id=","")
$UUPScript = "https://uup.xr6.xyz/get.php?id=$uupid&pack=0&edition=updateOnly&aria2=2"
$Miracast = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/getfile.php?id=$uupid&file=Microsoft-Windows-WirelessDisplay-FOD-Package-amd64.cab").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
$MiracastLP = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/getfile.php?id=$uupid&file=Microsoft-Windows-WirelessDisplay-FOD-Package-amd64-zh-cn.cab").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
$entgpack = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/getfile.php?id=$uupid&file=Microsoft-Windows-EditionSpecific-EnterpriseG-Package.ESD").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
$uupid = ((Invoke-WebRequest -Uri "https://uupdump.net/known.php?q=category:w10-22h2").Links | Where-Object {$_.href -like "selectlang.php?id=*"} | Where-Object {$_.outerHTML -like "*amd64*"})[0].href.replace("selectlang.php?id=","")
$UUPScript = "https://uupdump.net/get.php?id=$uupid&pack=0&edition=updateOnly&aria2=2"
Start-Sleep -Seconds 3
$Miracast = ((Invoke-WebRequest -Uri "https://uupdump.net/getfile.php?id=$uupid&file=Microsoft-Windows-WirelessDisplay-FOD-Package-amd64.cab").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
Start-Sleep -Seconds 3
$MiracastLP = ((Invoke-WebRequest -Uri "https://uupdump.net/getfile.php?id=$uupid&file=Microsoft-Windows-WirelessDisplay-FOD-Package-amd64-zh-cn.cab").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
Start-Sleep -Seconds 3
$entgpack = ((Invoke-WebRequest -Uri "https://uupdump.net/getfile.php?id=$uupid&file=Microsoft-Windows-EditionSpecific-EnterpriseG-Package.ESD").Links | Where-Object {$_.outerHTML -like *microsoft.com*"})[0].href
} else {
$WUScript = "https://raw.githubusercontent.com/adavak/Win_ISO_Patching_Scripts/master/Scripts/script_19041_x64.meta4"
$Miracast = "https://file.uhsea.com/2404/fa949c449de5880ea5e0648e16aa802a43.cab"
Expand All @@ -53,8 +59,8 @@ switch ($MakeVersion) {
# make 10 ltsc2021 64
$ospath = "/系统/MSDN/NT10.0_Win10/19044_LTSC2021/zh-cn_windows_10_enterprise_ltsc_2021_x64_dvd_033b7312.iso"
if ($true -eq $UpdateFromUUP) {
$uupid = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/known.php?q=category:w10-22h2").Links | Where-Object {$_.href -like "selectlang.php?id=*"} | Where-Object {$_.outerHTML -like "*amd64*"})[0].href.replace("selectlang.php?id=","")
$UUPScript = "https://uup.xr6.xyz/get.php?id=$uupid&pack=0&edition=updateOnly&aria2=2"
$uupid = ((Invoke-WebRequest -Uri "https://uupdump.net/known.php?q=category:w10-22h2").Links | Where-Object {$_.href -like "selectlang.php?id=*"} | Where-Object {$_.outerHTML -like "*amd64*"})[0].href.replace("selectlang.php?id=","")
$UUPScript = "https://uupdump.net/get.php?id=$uupid&pack=0&edition=updateOnly&aria2=2"
} else {
$WUScript = "https://raw.githubusercontent.com/adavak/Win_ISO_Patching_Scripts/master/Scripts/script_19041_x64.meta4"
}
Expand All @@ -65,8 +71,8 @@ switch ($MakeVersion) {
# make 10 ltsc2019 64
$ospath = "/系统/MSDN/NT10.0_Win10/17763_LTSC2019/cn_windows_10_enterprise_ltsc_2019_x64_dvd_9c09ff24.iso"
if ($true -eq $UpdateFromUUP) {
$uupid = ((Invoke-WebRequest -Uri "https://uup.xr6.xyz/known.php?q=category:w10-1809").Links | Where-Object {$_.href -like "selectlang.php?id=*"} | Where-Object {$_.outerHTML -like "*amd64*"})[0].href.replace("selectlang.php?id=","")
$UUPScript = "https://uup.xr6.xyz/get.php?id=$uupid&pack=0&edition=updateOnly&aria2=2"
$uupid = ((Invoke-WebRequest -Uri "https://uupdump.net/known.php?q=category:w10-1809").Links | Where-Object {$_.href -like "selectlang.php?id=*"} | Where-Object {$_.outerHTML -like "*amd64*"})[0].href.replace("selectlang.php?id=","")
$UUPScript = "https://uupdump.net/get.php?id=$uupid&pack=0&edition=updateOnly&aria2=2"
} else {
$WUScript = "https://raw.githubusercontent.com/adavak/Win_ISO_Patching_Scripts/master/Scripts/script_17763_x64.meta4"
}
Expand Down

0 comments on commit 8a93e81

Please sign in to comment.