mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Go back one Win11 version
This commit is contained in:
		
							parent
							
								
									566faa97d8
								
							
						
					
					
						commit
						5e4cd1c397
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1251,6 +1251,10 @@ function get_windows() { | ||||||
|       INDEX=1 |       INDEX=1 | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
|  |     if [ "${RELEASE}" -eq 11 ]; then | ||||||
|  |       INDEX=1 | ||||||
|  |     fi | ||||||
|  | 
 | ||||||
|     echo "Getting Windows ${RELEASE} URL..." |     echo "Getting Windows ${RELEASE} URL..." | ||||||
|     WINDOWS_VERSIONS=$(wget -q -O- "https://tb.rg-adguard.net/php/get_version.php?type_id=1" | jq '.versions | sort_by(-(.version_id | tonumber))') |     WINDOWS_VERSIONS=$(wget -q -O- "https://tb.rg-adguard.net/php/get_version.php?type_id=1" | jq '.versions | sort_by(-(.version_id | tonumber))') | ||||||
|     LATEST_WINDOWS_VERSION=$(echo "${WINDOWS_VERSIONS}" | jq -c 'map(select(.name | contains("Windows '${RELEASE}'")))['${INDEX}']') |     LATEST_WINDOWS_VERSION=$(echo "${WINDOWS_VERSIONS}" | jq -c 'map(select(.name | contains("Windows '${RELEASE}'")))['${INDEX}']') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue