Skip to content

Commit f8dcd82

Browse files
authored
feat: Add Windows 11 25H2 download (#1439)
1 parent 6be89c9 commit f8dcd82

File tree

3 files changed

+28
-13
lines changed

3 files changed

+28
-13
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas
9393
9494
| **Value** | **Version** | **Size** |
9595
|---|---|---|
96-
| `11` | Windows 11 Pro | 5.4 GB |
96+
| `11` | Windows 11 Pro | 7.2 GB |
9797
| `11l` | Windows 11 LTSC | 4.7 GB |
98-
| `11e` | Windows 11 Enterprise | 5.3 GB |
98+
| `11e` | Windows 11 Enterprise | 6.6 GB |
9999
||||
100100
| `10` | Windows 10 Pro | 5.7 GB |
101101
| `10l` | Windows 10 LTSC | 4.6 GB |

src/define.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -722,14 +722,14 @@ getMido() {
722722

723723
case "${id,,}" in
724724
"win11x64" )
725-
size=5819484160
726-
sum="b56b911bf18a2ceaeb3904d87e7c770bdf92d3099599d61ac2497b91bf190b11"
725+
size=7736125440
726+
sum="d141f6030fed50f75e2b03e1eb2e53646c4b21e5386047cb860af5223f102a32"
727727
url="https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/26200.6584.250915-1905.25h2_ge_release_svc_refresh_CLIENT_CONSUMER_x64FRE_en-us.iso"
728728
;;
729729
"win11x64-enterprise-eval" )
730-
size=5387960320
731-
sum="755a90d43e826a74b9e1932a34788b898e028272439b777e5593dee8d53622ae"
732-
url="https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/26100.1.240331-1435.ge_release_CLIENTENTERPRISEEVAL_OEMRET_A64FRE_en-us.iso"
730+
size=7092807680
731+
sum="a61adeab895ef5a4db436e0a7011c92a2ff17bb0357f58b13bbc4062e535e7b9"
732+
url="https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/26200.6584.250915-1905.25h2_ge_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso"
733733
;;
734734
"win11x64-enterprise-iot-eval" | "win11x64-enterprise-ltsc-eval" )
735735
size=5060020224

src/mido.sh

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ download_windows() {
171171
return 1
172172
fi
173173

174+
[[ "$DEBUG" == [Yy1]* ]] && echo "Found download link: $iso_download_link"
175+
174176
MIDO_URL="$iso_download_link"
175177
return 0
176178
}
@@ -274,8 +276,6 @@ download_windows_eval() {
274276
fi ;;
275277
"arm64" )
276278
iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1) ;;
277-
* )
278-
error "Invalid platform specified, value \"$PLATFORM\" is not recognized!" && return 1 ;;
279279
esac ;;
280280
"enterprise" )
281281
case "${PLATFORM,,}" in
@@ -287,16 +287,16 @@ download_windows_eval() {
287287
fi ;;
288288
"arm64" )
289289
iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1) ;;
290-
* )
291-
error "Invalid platform specified, value \"$PLATFORM\" is not recognized!" && return 1 ;;
292290
esac ;;
293291
"server" )
294-
iso_download_link=$(echo "$iso_download_links" | head -n 1) ;;
292+
case "${PLATFORM,,}" in
293+
"x64" )
294+
iso_download_link=$(echo "$iso_download_links" | head -n 1) ;;
295+
esac ;;
295296
* )
296297
error "Invalid type specified, value \"$enterprise_type\" is not recognized!" && return 1 ;;
297298
esac
298299

299-
[[ "$DEBUG" == [Yy1]* ]] && echo "Found download link: $iso_download_link"
300300
[ -z "$iso_download_link" ] && error "Could not parse download link from page!" && return 1
301301

302302
# Follow redirect so proceeding log message is useful
@@ -308,6 +308,21 @@ download_windows_eval() {
308308
return $?
309309
}
310310

311+
[[ "$DEBUG" == [Yy1]* ]] && echo "Found download link: $iso_download_link"
312+
313+
case "${PLATFORM,,}" in
314+
"x64" )
315+
if [[ "${iso_download_link,,}" != *"x64"* ]]; then
316+
error "Download link is for the wrong platform? Please report this at $SUPPORT/issues"
317+
return 1
318+
fi ;;
319+
"arm64" )
320+
if [[ "${iso_download_link,,}" != *"a64"* && "${iso_download_link,,}" != *"arm64"* ]]; then
321+
[[ "$DEBUG" == [Yy1]* ]] && echo "Link for ARM platform currently not available!"
322+
return 1
323+
fi ;;
324+
esac
325+
311326
MIDO_URL="$iso_download_link"
312327
return 0
313328
}

0 commit comments

Comments
 (0)