mirror of
				https://github.com/dockur/windows.git
				synced 2025-11-03 22:04:29 +00:00 
			
		
		
		
	fix: Update download links (#1172)
This commit is contained in:
		
							parent
							
								
									c081ec2693
								
							
						
					
					
						commit
						ffcb483452
					
				@ -1,7 +1,7 @@
 | 
			
		||||
ARG VERSION_ARG="latest"
 | 
			
		||||
FROM scratch AS build-amd64
 | 
			
		||||
 | 
			
		||||
COPY --from=qemux/qemu:7.05 / /
 | 
			
		||||
COPY --from=qemux/qemu:7.06 / /
 | 
			
		||||
 | 
			
		||||
ARG DEBCONF_NOWARNINGS="yes"
 | 
			
		||||
ARG DEBIAN_FRONTEND="noninteractive"
 | 
			
		||||
 | 
			
		||||
@ -741,11 +741,6 @@ getMido() {
 | 
			
		||||
      sum="2dedd44c45646c74efc5a028f65336027e14a56f76686a4631cf94ffe37c72f2"
 | 
			
		||||
      url="https://download.microsoft.com/download/B/9/9/B999286E-0A47-406D-8B3D-5B5AD7373A4A/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_ENTERPRISE_EVAL_EN-US-IR3_CENA_X64FREE_EN-US_DV9.ISO"
 | 
			
		||||
      ;;
 | 
			
		||||
    "win7x64" | "win7x64-enterprise-eval" )
 | 
			
		||||
      size=3121248256
 | 
			
		||||
      sum="2c16c73388a5c02a0ec4cd8b9e5c14ba28b7b45d13d0c9c7d44459feecc0385f"
 | 
			
		||||
      url="http://care.dlservice.microsoft.com/dl/download/evalx/win7/x64/EN/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso"
 | 
			
		||||
      ;;
 | 
			
		||||
    "win2025-eval" )
 | 
			
		||||
      size=6014152704
 | 
			
		||||
      sum="d0ef4502e350e3c6c53c15b1b3020d38a5ded011bf04998e950720ac8579b23d"
 | 
			
		||||
 | 
			
		||||
@ -206,7 +206,7 @@ detectCustom() {
 | 
			
		||||
  CUSTOM=""
 | 
			
		||||
 | 
			
		||||
  if [ -d "/$fname" ]; then
 | 
			
		||||
    error "The file /$fname does not exist, please check that you mapped it to a valid path!" && return 1
 | 
			
		||||
    error "The file /$fname does not exist, please make sure that you mapped it to a valid path!" && return 1
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
  file=$(find / -maxdepth 1 -type f -iname "$fname" | head -n 1)
 | 
			
		||||
@ -495,7 +495,7 @@ setXML() {
 | 
			
		||||
  local file="/custom.xml"
 | 
			
		||||
 | 
			
		||||
  if [ -d "$file" ]; then
 | 
			
		||||
    warn "The file $file does not exist, please check that you mapped it to a valid path!"
 | 
			
		||||
    warn "The file $file does not exist, please make sure that you mapped it to a valid path!"
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
  [ ! -f "$file" ] || [ ! -s "$file" ] && file="$STORAGE/custom.xml"
 | 
			
		||||
 | 
			
		||||
@ -314,7 +314,7 @@ getWindows() {
 | 
			
		||||
  info "$msg" && html "$msg"
 | 
			
		||||
 | 
			
		||||
  case "${version,,}" in
 | 
			
		||||
    "win2008r2" | "win7${PLATFORM,,}"* | "win81${PLATFORM,,}"* | "win11${PLATFORM,,}-enterprise-iot"* | "win11${PLATFORM,,}-enterprise-ltsc"* )
 | 
			
		||||
    "win2008r2" | "win81${PLATFORM,,}"* | "win11${PLATFORM,,}-enterprise-iot"* | "win11${PLATFORM,,}-enterprise-ltsc"* )
 | 
			
		||||
      if [[ "${lang,,}" != "en" ]] && [[ "${lang,,}" != "en-"* ]]; then
 | 
			
		||||
        error "No download in the $language language available for $edition!"
 | 
			
		||||
        MIDO_URL="" && return 1
 | 
			
		||||
@ -342,7 +342,7 @@ getWindows() {
 | 
			
		||||
    "win2025-eval" | "win2022-eval" | "win2019-eval" | "win2019-hv" | "win2016-eval" | "win2012r2-eval" )
 | 
			
		||||
      download_windows_eval "$version" "$lang" "$edition" && return 0
 | 
			
		||||
      ;;
 | 
			
		||||
    "win7${PLATFORM,,}"* | "win81${PLATFORM,,}-enterprise"* | "win2008r2" )
 | 
			
		||||
    "win81${PLATFORM,,}-enterprise"* | "win2008r2" )
 | 
			
		||||
      ;;
 | 
			
		||||
    * ) error "Invalid VERSION specified, value \"$version\" is not recognized!" ;;
 | 
			
		||||
  esac
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user